	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lec_arp_resolve
_lec_arp_resolve:                       ## @lec_arp_resolve
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r15
	testb	$1, (%rsi)
	je	LBB0_5
## %bb.1:
	movl	(%r15), %eax
	cmpl	$2, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_5
LBB0_3:
	movq	24(%r15), %rbx
	jmp	LBB0_21
LBB0_4:
	movq	_bus_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_compare_ether_addr
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	leaq	16(%r15), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_lec_arp_find
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_ESI_FORWARD_DIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r14)
	movq	%r14, %rdi
	callq	_lec_arp_hold
	movq	%r14, (%r12)
	movq	64(%r14), %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_8:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_make_entry
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	testq	%r12, %r12
	je	LBB0_17
## %bb.9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_lec_arp_add
	movq	$1, 16(%r12)
	movq	_ESI_ARP_PENDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movl	$1, 8(%r12)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	%rax, 56(%r12)
	movl	%ebx, 24(%r12)
	testl	%ebx, %ebx
	jne	LBB0_18
## %bb.10:
	movq	_l_arp_xmt@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	movq	_ESI_ARP_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	$0, 8(%r14)
LBB0_13:
	movq	_ESI_FLUSH_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:
	movq	16(%r14), %rax
	cmpq	8(%r15), %rax
	jge	LBB0_16
## %bb.15:
	incq	%rax
	movq	%rax, 16(%r14)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	24(%r15), %rbx
	jmp	LBB0_20
LBB0_16:
	movq	%r14, %rdi
	callq	_lec_arp_hold
	movq	%r14, (%r12)
	movq	(%r14), %rsi
	movq	64(%r14), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_20
LBB0_17:
	movq	24(%r15), %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_18:
	movq	_l_rdesc_arp_xmt@GOTPCREL(%rip), %rax
LBB0_19:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_send_to_lecd
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%r12, %rdi
	addq	$32, %rdi
	movq	%rax, 40(%r12)
	movq	_lec_arp_expire_arp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	callq	_add_timer
	movq	24(%r15), %rbx
	movq	%r14, %r13
LBB0_20:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
LBB0_21:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bus_mac,4,2                    ## @bus_mac
	.comm	_ESI_FORWARD_DIRECT,8,3         ## @ESI_FORWARD_DIRECT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ESI_ARP_PENDING,8,3            ## @ESI_ARP_PENDING
	.comm	_ESI_FLUSH_PENDING,8,3          ## @ESI_FLUSH_PENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LEC_ARP: Flooding..\n"

L_.str.1:                               ## @.str.1
	.asciz	"lec: entry->status %d entry->vcc %p\n"

L_.str.2:                               ## @.str.2
	.asciz	"LEC_ARP: Making entry\n"

	.comm	_l_rdesc_arp_xmt,4,2            ## @l_rdesc_arp_xmt
	.comm	_l_arp_xmt,4,2                  ## @l_arp_xmt
	.comm	_HZ,4,2                         ## @HZ
	.comm	_lec_arp_expire_arp,4,2         ## @lec_arp_expire_arp
	.no_dead_strip	_lec_arp_resolve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lec_arp_resolve
_lec_arp_resolve:                       ; @lec_arp_resolve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	ldrb	w8, [x1]
	tbz	w8, #0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_5
LBB0_3:
	ldr	x20, [x20, #24]
	b	LBB0_18
LBB0_4:
Lloh0:
	adrp	x8, _bus_mac@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bus_mac@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_compare_ether_addr
	cbz	w0, LBB0_3
LBB0_5:
	add	x19, x20, #16
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x22
	bl	_lec_arp_find
	cbz	x0, LBB0_8
; %bb.6:
	mov	x24, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _ESI_FORWARD_DIRECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ESI_FORWARD_DIRECT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x24, #56]
	mov	x0, x24
	bl	_lec_arp_hold
	str	x24, [x21]
	ldr	x20, [x24, #64]
	b	LBB0_17
LBB0_8:
	mov	x0, x20
	mov	x1, x22
	bl	_make_entry
	mov	x21, x0
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	cbz	x21, LBB0_15
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	bl	_lec_arp_add
	mov	w8, #1
	str	x8, [x21, #16]
Lloh11:
	adrp	x9, _ESI_ARP_PENDING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ESI_ARP_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	x9, [x21]
Lloh14:
	adrp	x24, _jiffies@GOTPAGE
Lloh15:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	str	w8, [x21, #8]
	ldr	x8, [x24]
	stp	x8, x8, [x21, #48]
Lloh16:
	adrp	x8, _l_arp_xmt@GOTPAGE
Lloh17:
	ldr	x8, [x8, _l_arp_xmt@GOTPAGEOFF]
	str	w23, [x21, #24]
Lloh18:
	adrp	x9, _l_rdesc_arp_xmt@GOTPAGE
Lloh19:
	ldr	x9, [x9, _l_rdesc_arp_xmt@GOTPAGEOFF]
	cmp	w23, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	x3, #0
	mov	x4, #0
	bl	_send_to_lecd
	ldr	x8, [x24]
Lloh20:
	adrp	x9, _HZ@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh22:
	ldrsw	x9, [x9]
	add	x8, x8, x9
Lloh23:
	adrp	x9, _lec_arp_expire_arp@GOTPAGE
Lloh24:
	ldr	x9, [x9, _lec_arp_expire_arp@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	w9, [x21, #32]!
	str	x8, [x21, #8]
	mov	x0, x21
	bl	_add_timer
	b	LBB0_15
LBB0_10:
Lloh26:
	adrp	x9, _ESI_ARP_PENDING@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ESI_ARP_PENDING@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	str	wzr, [x24, #8]
LBB0_12:
Lloh29:
	adrp	x9, _ESI_FLUSH_PENDING@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ESI_FLUSH_PENDING@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.13:
	ldr	x8, [x24, #16]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ge	LBB0_16
; %bb.14:
	add	x8, x8, #1
	str	x8, [x24, #16]
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_15:
	ldr	x20, [x20, #24]
	b	LBB0_17
LBB0_16:
	mov	x0, x24
	bl	_lec_arp_hold
	str	x24, [x21]
	ldr	x8, [x24]
	ldr	x9, [x24, #64]
	stp	x8, x9, [sp]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x20, #0
LBB0_17:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_bus_mac,4,2                    ; @bus_mac
	.comm	_ESI_FORWARD_DIRECT,8,3         ; @ESI_FORWARD_DIRECT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ESI_ARP_PENDING,8,3            ; @ESI_ARP_PENDING
	.comm	_ESI_FLUSH_PENDING,8,3          ; @ESI_FLUSH_PENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LEC_ARP: Flooding..\n"

l_.str.1:                               ; @.str.1
	.asciz	"lec: entry->status %d entry->vcc %p\n"

l_.str.2:                               ; @.str.2
	.asciz	"LEC_ARP: Making entry\n"

	.comm	_l_rdesc_arp_xmt,4,2            ; @l_rdesc_arp_xmt
	.comm	_l_arp_xmt,4,2                  ; @l_arp_xmt
	.comm	_HZ,4,2                         ; @HZ
	.comm	_lec_arp_expire_arp,4,2         ; @lec_arp_expire_arp
	.no_dead_strip	_lec_arp_resolve
.subsections_via_symbols
