	.file	"extr_in.c_in_ifaddr_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	in_ifaddr_alloc, @function
in_ifaddr_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, edi
	cmp	DWORD PTR M_WAITOK[rip], r8d
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR inifa_zone[rip]
	je	.L9
	call	zalloc_noblock@PLT
	mov	r12, rax
.L3:
	test	r12, r12
	je	.L1
	mov	esi, DWORD PTR inifa_size[rip]
	mov	rdi, r12
	call	bzero@PLT
	mov	eax, DWORD PTR in_ifaddr_free[rip]
	mov	rdi, r12
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR IFD_ALLOC[rip]
	or	DWORD PTR 12[r12], eax
	call	ifa_lock_init@PLT
	cmp	QWORD PTR inifa_debug[rip], 0
	jne	.L10
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	zalloc@PLT
	mov	r12, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR IFD_DEBUG[rip]
	or	DWORD PTR 12[r12], eax
	mov	rdi, r12
	mov	eax, DWORD PTR in_ifaddr_trace[rip]
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR in_ifaddr_attached[rip]
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR in_ifaddr_detached[rip]
	mov	DWORD PTR [r12], eax
	call	ctrace_record@PLT
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	in_ifaddr_alloc, .-in_ifaddr_alloc
	.comm	inifa_zone,4,4
	.comm	inifa_size,4,4
	.comm	inifa_debug,8,8
	.comm	in_ifaddr_trace,4,4
	.comm	in_ifaddr_free,4,4
	.comm	in_ifaddr_detached,4,4
	.comm	in_ifaddr_attached,4,4
	.comm	M_WAITOK,4,4
	.comm	IFD_DEBUG,4,4
	.comm	IFD_ALLOC,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_in.c_in_ifaddr_alloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	in_ifaddr_alloc, %function
in_ifaddr_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L14
	ldr	r3, .L14+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r0
	push	{r4, lr}
	mov	r0, r3
	beq	.L12
	bl	zalloc_noblock
	mov	r4, r0
.L3:
	cmp	r4, #0
	beq	.L1
	ldr	r3, .L14+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	bzero
	ldr	r3, .L14+12
	ldr	r2, .L14+16
	ldr	r1, [r3]
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	orr	r3, r3, r1
	str	r3, [r4, #12]
	mov	r0, r4
	str	r2, [r4, #16]
	bl	ifa_lock_init
	ldr	r3, .L14+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L12:
	bl	zalloc
	mov	r4, r0
	b	.L3
.L13:
	ldr	r3, .L14+24
	ldr	r0, .L14+28
	ldr	r1, .L14+32
	ldr	r2, .L14+36
	ldr	ip, [r3]
	ldr	r3, [r4, #12]
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, ip
	str	r0, [r4, #8]
	str	r3, [r4, #12]
	mov	r0, r4
	str	r1, [r4, #4]
	str	r2, [r4]
	bl	ctrace_record
	mov	r0, r4
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	M_WAITOK
	.word	inifa_zone
	.word	inifa_size
	.word	IFD_ALLOC
	.word	in_ifaddr_free
	.word	inifa_debug
	.word	IFD_DEBUG
	.word	in_ifaddr_trace
	.word	in_ifaddr_attached
	.word	in_ifaddr_detached
	.size	in_ifaddr_alloc, .-in_ifaddr_alloc
	.comm	inifa_zone,4,4
	.comm	inifa_size,4,4
	.comm	inifa_debug,4,4
	.comm	in_ifaddr_trace,4,4
	.comm	in_ifaddr_free,4,4
	.comm	in_ifaddr_detached,4,4
	.comm	in_ifaddr_attached,4,4
	.comm	M_WAITOK,4,4
	.comm	IFD_DEBUG,4,4
	.comm	IFD_ALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
