	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_addr_resolve_neigh_ipv6
_i40iw_addr_resolve_neigh_ipv6:         ## @i40iw_addr_resolve_neigh_ipv6
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -80(%rbp)
	movl	-88(%rbp), %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_i40iw_copy_ip_htonl
	leaq	-104(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	%rax, -96(%rbp)
	movl	-104(%rbp), %edi
	movq	%r14, %rsi
	callq	_i40iw_copy_ip_htonl
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_i40iw_get_dst_ipv6
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_dst_release
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_err
LBB0_3:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_4:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_netif_is_bond_slave
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_netdev_master_upper_dev_get
LBB0_6:
	movl	-88(%rbp), %esi
	movq	%rbx, %rdi
	callq	_dst_neigh_lookup
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_rcu_read_lock
	testq	%r15, %r15
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_12
## %bb.7:
	leaq	8(%r12), %rdi
	movq	_I40IW_DEBUG_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %ecx
	leaq	L_.str.1(%rip), %rdx
	callq	_i40iw_debug
	movq	_NUD_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.8:
	testl	%r13d, %r13d
	js	LBB0_11
## %bb.9:
	movq	(%r12), %rax
	movl	%r13d, %r14d
	movl	(%rax,%r14,4), %edi
	movl	4(%r15), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movq	_I40IW_ARP_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_i40iw_manage_arp_cache
LBB0_11:
	movl	4(%r15), %esi
	movq	_I40IW_ARP_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_i40iw_manage_arp_cache
	movq	_I40IW_ARP_RESOLVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i40iw_arp_table
	movl	%eax, %r13d
	jmp	LBB0_14
LBB0_12:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_15
LBB0_13:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_neigh_event_send
LBB0_14:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r15, %rdi
	callq	_neigh_release
LBB0_15:
	movq	%rbx, %rdi
	callq	_dst_release
LBB0_16:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ip6_route_output returned dst->error = %d\n"

	.comm	_I40IW_DEBUG_CM,4,2             ## @I40IW_DEBUG_CM
L_.str.1:                               ## @.str.1
	.asciz	"dst_neigh_lookup MAC=%pM\n"

	.comm	_NUD_VALID,4,2                  ## @NUD_VALID
	.comm	_I40IW_ARP_DELETE,4,2           ## @I40IW_ARP_DELETE
	.comm	_I40IW_ARP_ADD,4,2              ## @I40IW_ARP_ADD
	.comm	_I40IW_ARP_RESOLVE,4,2          ## @I40IW_ARP_RESOLVE
	.no_dead_strip	_i40iw_addr_resolve_neigh_ipv6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_addr_resolve_neigh_ipv6
_i40iw_addr_resolve_neigh_ipv6:         ; @i40iw_addr_resolve_neigh_ipv6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x23, [x0, #16]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x24, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AF_INET6@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [sp, #24]
	ldr	w0, [sp, #16]
	mov	x1, x21
	bl	_i40iw_copy_ip_htonl
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x24]
	str	x8, [sp, #8]
	ldr	w0, [sp]
	mov	x1, x20
	bl	_i40iw_copy_ip_htonl
	mov	x0, sp
	add	x1, sp, #16
	bl	_i40iw_get_dst_ipv6
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_dst_release
	ldr	x1, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_i40iw_pr_err
	b	LBB0_15
LBB0_3:
	mov	x0, x23
	bl	_netif_is_bond_slave
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_netdev_master_upper_dev_get
LBB0_5:
	ldr	w1, [sp, #16]
	mov	x0, x20
	bl	_dst_neigh_lookup
	mov	x23, x0
	bl	_rcu_read_lock
	cbz	x23, LBB0_11
; %bb.6:
	add	x0, x22, #8
Lloh4:
	adrp	x8, _I40IW_DEBUG_CM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I40IW_DEBUG_CM@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w3, [x23, #4]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_i40iw_debug
	ldr	w8, [x23]
Lloh9:
	adrp	x9, _NUD_VALID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NUD_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.7:
	tbnz	w19, #31, LBB0_10
; %bb.8:
	ldr	x8, [x22]
	ldr	w0, [x8, w19, uxtw #2]
	ldr	w1, [x23, #4]
	bl	_ether_addr_equal
	cbnz	x0, LBB0_13
; %bb.9:
	mov	w8, w19
	ldr	x9, [x22]
	ldr	w1, [x9, x8, lsl #2]
Lloh12:
	adrp	x8, _I40IW_ARP_DELETE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40IW_ARP_DELETE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	w3, #0
	bl	_i40iw_manage_arp_cache
LBB0_10:
	ldr	w1, [x23, #4]
Lloh15:
	adrp	x8, _I40IW_ARP_ADD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40IW_ARP_ADD@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x2, x21
	mov	w3, #0
	bl	_i40iw_manage_arp_cache
Lloh18:
	adrp	x8, _I40IW_ARP_RESOLVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I40IW_ARP_RESOLVE@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	mov	x3, #0
	bl	_i40iw_arp_table
	mov	x19, x0
	b	LBB0_13
LBB0_11:
	bl	_rcu_read_unlock
	b	LBB0_14
LBB0_12:
	mov	x0, x23
	mov	x1, #0
	bl	_neigh_event_send
LBB0_13:
	bl	_rcu_read_unlock
	mov	x0, x23
	bl	_neigh_release
LBB0_14:
	mov	x0, x20
	bl	_dst_release
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ip6_route_output returned dst->error = %d\n"

	.comm	_I40IW_DEBUG_CM,4,2             ; @I40IW_DEBUG_CM
l_.str.1:                               ; @.str.1
	.asciz	"dst_neigh_lookup MAC=%pM\n"

	.comm	_NUD_VALID,4,2                  ; @NUD_VALID
	.comm	_I40IW_ARP_DELETE,4,2           ; @I40IW_ARP_DELETE
	.comm	_I40IW_ARP_ADD,4,2              ; @I40IW_ARP_ADD
	.comm	_I40IW_ARP_RESOLVE,4,2          ; @I40IW_ARP_RESOLVE
	.no_dead_strip	_i40iw_addr_resolve_neigh_ipv6
.subsections_via_symbols
