	.file	"extr_pt_section_posix.c_pt_section_mk_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pt_section_mk_status
	.type	pt_section_mk_status, @function
pt_section_mk_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L9
	mov	rbp, rsi
	test	rsi, rsi
	je	.L9
	mov	rdi, rdx
	mov	rsi, rsp
	call	stat@PLT
	test	eax, eax
	js	.L12
	cmp	QWORD PTR [rsp], 0
	js	.L13
	mov	edi, 8
	call	malloc@PLT
	test	rax, rax
	je	.L14
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR pte_internal[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR pte_bad_image[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR pte_bad_file[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR pte_nomem[rip]
	neg	eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pt_section_mk_status, .-pt_section_mk_status
	.comm	pte_nomem,4,4
	.comm	pte_internal,4,4
	.comm	pte_bad_image,4,4
	.comm	pte_bad_file,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pt_section_posix.c_pt_section_mk_status.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pt_section_mk_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	pt_section_mk_status, %function
pt_section_mk_status:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r1
	cmp	r0, #0
	lsr	r3, r3, #5
	push	{r4, r5, r6, lr}
	movne	r4, r3
	moveq	r4, #1
	ldr	r3, .L13
	sub	sp, sp, #8
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r6, r0
	mov	r5, r1
	mov	r0, r2
	mov	r1, sp
	bl	stat
	cmp	r0, #0
	blt	.L11
	ldr	r3, [sp]
	cmp	r3, #0
	blt	.L12
	mov	r0, #4
	bl	malloc
	subs	r3, r0, #0
	ldreq	r3, .L13+8
	ldrne	r2, [sp]
	ldreq	r0, [r3]
	strne	r3, [r6]
	movne	r0, r4
	rsbeq	r0, r0, #0
	strne	r2, [r3]
	strne	r2, [r5]
	b	.L1
.L12:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	pte_internal
	.word	pte_nomem
	.word	pte_bad_image
	.word	pte_bad_file
	.size	pt_section_mk_status, .-pt_section_mk_status
	.comm	pte_nomem,4,4
	.comm	pte_internal,4,4
	.comm	pte_bad_image,4,4
	.comm	pte_bad_file,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
