	.file	"extr_in.c_inctl_ifdstaddr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	inctl_ifdstaddr, @function
inctl_ifdstaddr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 200
	.cfi_def_cfa_offset 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 184[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	VERIFY@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IFF_POINTOPOINT[rip], eax
	jne	.L2
	mov	r13d, DWORD PTR EINVAL[rip]
.L1:
	mov	rax, QWORD PTR 184[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 200
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	r15, 32[rsp]
	mov	esi, 72
	lea	r14, 112[rsp]
	mov	rdi, r15
	call	bzero@PLT
	mov	esi, 72
	mov	rdi, r14
	call	bzero@PLT
	cmp	r12d, 128
	je	.L4
	cmp	r12d, 129
	jne	.L5
	test	rbx, rbx
	je	.L23
	lea	rbp, 8[rbx]
	mov	rdi, rbp
	call	IFA_LOCK@PLT
	mov	rsi, r13
	lea	rdi, 16[rbx]
	xor	r13d, r13d
	mov	edx, 12
	call	bcopy@PLT
	mov	rdi, rbp
	call	IFA_UNLOCK@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	r13d, DWORD PTR EADDRNOTAVAIL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	edi, edi
	test	rbx, rbx
	lea	r12, 8[rbx]
	setne	dil
	call	VERIFY@PLT
	mov	rdi, r12
	call	IFA_LOCK@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, 12
	mov	rdi, r13
	mov	QWORD PTR 20[rsp], rax
	mov	eax, DWORD PTR 24[rbx]
	mov	DWORD PTR 28[rsp], eax
	lea	rax, 16[rbx]
	mov	rsi, rax
	mov	QWORD PTR 8[rsp], rax
	call	bcopy@PLT
	mov	eax, DWORD PTR AF_INET[rip]
	cmp	DWORD PTR 24[rbx], eax
	jne	.L7
	mov	DWORD PTR 16[rbx], 12
.L7:
	mov	rdi, r12
	call	IFA_UNLOCK@PLT
	mov	rcx, rbx
	mov	edx, 128
	mov	rdi, rbp
	mov	esi, DWORD PTR PF_INET[rip]
	call	ifnet_ioctl@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	IFA_LOCK@PLT
	cmp	DWORD PTR EOPNOTSUPP[rip], r13d
	je	.L8
	test	r13d, r13d
	jne	.L24
.L8:
	mov	rdi, r12
	call	IFA_LOCK_ASSERT_HELD@PLT
	mov	eax, DWORD PTR KEV_VENDOR_APPLE[rip]
	mov	DWORD PTR 176[rsp], eax
	mov	eax, DWORD PTR KEV_NETWORK_CLASS[rip]
	mov	DWORD PTR 172[rsp], eax
	mov	eax, DWORD PTR KEV_INET_SUBCLASS[rip]
	mov	DWORD PTR 168[rsp], eax
	mov	eax, DWORD PTR KEV_INET_SIFDSTADDR[rip]
	mov	DWORD PTR 164[rsp], eax
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L9
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 80[rsp], eax
.L10:
	mov	rax, QWORD PTR 28[rbx]
	mov	rdi, r12
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 36[rbx]
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR 44[rbx]
	mov	QWORD PTR 72[rsp], rax
	call	IFA_UNLOCK@PLT
	mov	edx, DWORD PTR IFNAMSIZ[rip]
	mov	esi, DWORD PTR 12[rbp]
	mov	rdi, QWORD PTR 48[rsp]
	call	strlcpy@PLT
	mov	rax, QWORD PTR 4[rbp]
	mov	rsi, r14
	mov	rdi, rbp
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR 112[rsp]
	mov	QWORD PTR 8[rax], r15
	mov	DWORD PTR [rax], 72
	mov	DWORD PTR 16[rax], 0
	call	dlil_post_complete_msg@PLT
	mov	edi, DWORD PTR rnh_lock[rip]
	call	lck_mtx_lock@PLT
	mov	rdi, r12
	call	IFA_LOCK@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR IFA_ROUTE[rip], eax
	je	.L11
	lea	rax, 20[rsp]
	mov	rdi, r12
	mov	QWORD PTR 8[rbx], rax
	call	IFA_UNLOCK@PLT
	mov	edx, DWORD PTR RTF_HOST[rip]
	mov	esi, DWORD PTR RTM_DELETE[rip]
	mov	rdi, r12
	call	rtinit_locked@PLT
	mov	rdi, r12
	call	IFA_LOCK@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r12
	mov	QWORD PTR 8[rbx], rax
	call	IFA_UNLOCK@PLT
	mov	esi, DWORD PTR RTM_ADD[rip]
	mov	edx, DWORD PTR RTF_HOST[rip]
	mov	rdi, r12
	or	edx, DWORD PTR RTF_UP[rip]
	call	rtinit_locked@PLT
.L12:
	mov	edi, DWORD PTR rnh_lock[rip]
	xor	r13d, r13d
	call	lck_mtx_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	xor	edi, edi
	xor	r13d, r13d
	call	VERIFY@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r12
	call	IFA_UNLOCK@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 20[rsp]
	mov	rdi, r12
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR 28[rsp]
	mov	DWORD PTR 24[rbx], eax
	call	IFA_UNLOCK@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR INADDR_ANY[rip]
	mov	DWORD PTR 80[rsp], eax
	jmp	.L10
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	inctl_ifdstaddr, .-inctl_ifdstaddr
	.comm	rnh_lock,4,4
	.comm	RTM_DELETE,8,8
	.comm	RTM_ADD,8,8
	.comm	RTF_UP,4,4
	.comm	RTF_HOST,4,4
	.comm	PF_INET,4,4
	.comm	KEV_VENDOR_APPLE,4,4
	.comm	KEV_NETWORK_CLASS,4,4
	.comm	KEV_INET_SUBCLASS,4,4
	.comm	KEV_INET_SIFDSTADDR,4,4
	.comm	INADDR_ANY,4,4
	.comm	IFNAMSIZ,4,4
	.comm	IFF_POINTOPOINT,4,4
	.comm	IFA_ROUTE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.comm	EADDRNOTAVAIL,4,4
	.comm	AF_INET,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_inctl_ifdstaddr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inctl_ifdstaddr, %function
inctl_ifdstaddr:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r7, r3
	subs	r0, r0, #0
	ldr	r3, .L19
	movne	r0, #1
	sub	sp, sp, #136
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	VERIFY
	ldr	r2, .L19+4
	ldr	r1, [r4]
	ldr	r2, [r2]
	tst	r1, r2
	bne	.L2
	ldr	r3, .L19+8
	ldr	r6, [r3]
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r6
	add	sp, sp, #136
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r1, #60
	add	r0, sp, #12
	bl	bzero
	mov	r1, #60
	add	r0, sp, #72
	bl	bzero
	cmp	r6, #128
	beq	.L4
	cmp	r6, #129
	bne	.L5
	cmp	r5, #0
	beq	.L17
	add	r4, r5, #4
	mov	r0, r4
	bl	IFA_LOCK
	mov	r1, r7
	mov	r2, #12
	add	r0, r5, #8
	bl	bcopy
	mov	r0, r4
	bl	IFA_UNLOCK
	mov	r6, #0
	b	.L1
.L17:
	ldr	r3, .L19+12
	ldr	r6, [r3]
	b	.L1
.L4:
	mov	r10, sp
	subs	r0, r5, #0
	movne	r0, #1
	add	r8, r5, #4
	bl	VERIFY
	add	r9, r5, #8
	mov	r0, r8
	bl	IFA_LOCK
	ldm	r9, {r0, r1, r2}
	stm	r10, {r0, r1, r2}
	mov	r1, r9
	mov	r2, #12
	mov	r0, r7
	bl	bcopy
	ldr	r3, .L19+16
	ldr	r2, [r5, #16]
	ldr	r3, [r3]
	mov	r0, r8
	cmp	r2, r3
	moveq	r3, #12
	streq	r3, [r5, #8]
	bl	IFA_UNLOCK
	ldr	r2, .L19+20
	mov	r3, r5
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, #128
	bl	ifnet_ioctl
	mov	r6, r0
	mov	r0, r8
	bl	IFA_LOCK
	ldr	r3, .L19+24
	ldr	r3, [r3]
	cmp	r3, r6
	cmpne	r6, #0
	bne	.L18
	mov	r0, r8
	bl	IFA_LOCK_ASSERT_HELD
	ldr	r3, .L19+28
	ldr	r1, .L19+32
	ldr	r3, [r3]
	ldr	r2, .L19+36
	str	r3, [sp, #124]
	ldr	r3, [r5, #4]
	ldr	r0, [r1]
	cmp	r3, #0
	ldreq	r3, .L19+40
	ldr	r1, [r2]
	ldr	r2, .L19+44
	ldrne	r3, [r3, #4]
	ldreq	r3, [r3]
	ldr	r2, [r2]
	str	r3, [sp, #52]
	ldr	r3, [r5, #36]
	str	r2, [sp, #116]
	ldr	r2, [r5, #40]
	str	r0, [sp, #128]
	ldr	r0, [r5, #32]
	str	r1, [sp, #120]
	str	r2, [sp, #48]
	ldr	r1, [r5, #28]
	ldr	r2, [r5, #24]
	str	r3, [sp, #44]
	ldr	r3, [r5, #20]
	str	r0, [sp, #40]
	mov	r0, r8
	str	r1, [sp, #36]
	str	r2, [sp, #32]
	str	r3, [sp, #28]
	bl	IFA_UNLOCK
	ldr	r3, .L19+48
	ldr	r1, [r4, #12]
	ldr	r2, [r3]
	ldr	r0, [sp, #24]
	bl	strlcpy
	ldmib	r4, {r0, r3}
	mov	ip, #60
	mov	r2, #0
	str	r3, [sp, #20]
	ldr	r3, [sp, #72]
	str	r0, [sp, #16]
	ldr	r6, .L19+52
	str	ip, [r3]
	add	ip, sp, #12
	str	r2, [r3, #8]
	str	ip, [r3, #4]
	add	r1, sp, #72
	mov	r0, r4
	bl	dlil_post_complete_msg
	ldr	r0, [r6]
	bl	lck_mtx_lock
	mov	r0, r8
	bl	IFA_LOCK
	ldr	r3, .L19+56
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L11
	mov	r0, r8
	str	r10, [r5, #4]
	bl	IFA_UNLOCK
	ldr	r4, .L19+60
	ldr	r3, .L19+64
	ldr	r2, [r4]
	ldr	r1, [r3]
	mov	r0, r8
	bl	rtinit_locked
	mov	r0, r8
	bl	IFA_LOCK
	mov	r0, r8
	str	r9, [r5, #4]
	bl	IFA_UNLOCK
	ldr	r3, .L19+68
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, .L19+72
	orr	r2, r1, r2
	mov	r0, r8
	ldr	r1, [r3]
	bl	rtinit_locked
.L12:
	ldr	r0, [r6]
	bl	lck_mtx_unlock
	mov	r6, #0
	b	.L1
.L5:
	mov	r0, #0
	bl	VERIFY
	mov	r6, #0
	b	.L1
.L11:
	mov	r0, r8
	bl	IFA_UNLOCK
	b	.L12
.L18:
	ldm	r10, {r0, r1, r2}
	stm	r9, {r0, r1, r2}
	mov	r0, r8
	bl	IFA_UNLOCK
	b	.L1
.L16:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	IFF_POINTOPOINT
	.word	EINVAL
	.word	EADDRNOTAVAIL
	.word	AF_INET
	.word	PF_INET
	.word	EOPNOTSUPP
	.word	KEV_NETWORK_CLASS
	.word	KEV_VENDOR_APPLE
	.word	KEV_INET_SUBCLASS
	.word	INADDR_ANY
	.word	KEV_INET_SIFDSTADDR
	.word	IFNAMSIZ
	.word	rnh_lock
	.word	IFA_ROUTE
	.word	RTF_HOST
	.word	RTM_DELETE
	.word	RTF_UP
	.word	RTM_ADD
	.size	inctl_ifdstaddr, .-inctl_ifdstaddr
	.comm	rnh_lock,4,4
	.comm	RTM_DELETE,4,4
	.comm	RTM_ADD,4,4
	.comm	RTF_UP,4,4
	.comm	RTF_HOST,4,4
	.comm	PF_INET,4,4
	.comm	KEV_VENDOR_APPLE,4,4
	.comm	KEV_NETWORK_CLASS,4,4
	.comm	KEV_INET_SUBCLASS,4,4
	.comm	KEV_INET_SIFDSTADDR,4,4
	.comm	INADDR_ANY,4,4
	.comm	IFNAMSIZ,4,4
	.comm	IFF_POINTOPOINT,4,4
	.comm	IFA_ROUTE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.comm	EADDRNOTAVAIL,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
