	.file	"743815.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"buffer:%p, size:%p\n"
.LC1:
	.string	"222"
.LC2:
	.string	"null ptr deference"
.LC3:
	.string	"default action"
	.text
	.globl	target_func
	.type	target_func, @function
target_func:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 68
	jne	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	mov	BYTE PTR [rax], 1
	jmp	.L6
.L2:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L4
.L6:
	nop
.L4:
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	target_func, .-target_func
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"743815.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"buffer:%p, size:%p\012\000"
	.align	2
.LC1:
	.ascii	"222\000"
	.align	2
.LC2:
	.ascii	"null ptr deference\000"
	.align	2
.LC3:
	.ascii	"crash....\000"
	.align	2
.LC4:
	.ascii	"default action\000"
	.text
	.align	2
	.global	target_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	target_func, %function
target_func:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L12
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L2
	cmp	r3, #255
	beq	.L3
	b	.L9
.L2:
	ldr	r0, .L12+4
	bl	puts
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L10
	ldr	r0, .L12+8
	bl	puts
	mov	r3, #0
	mov	r2, #1
	strb	r2, [r3]
	b	.L10
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #255
	bne	.L11
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L11
	ldr	r0, .L12+12
	bl	puts
	ldr	r3, .L12+16
	mov	r2, #1
	strb	r2, [r3]
	b	.L11
.L9:
	ldr	r0, .L12+20
	bl	puts
	b	.L6
.L10:
	nop
	b	.L6
.L11:
	nop
.L6:
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-559038737
	.word	.LC4
	.size	target_func, .-target_func
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
