	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_l2t_get                  ## -- Begin function cxgb4_l2t_get
	.p2align	4, 0x90
_cxgb4_l2t_get:                         ## @cxgb4_l2t_get
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movq	8(%r12), %r15
	movl	(%rax), %r13d
	movq	%r15, %rdi
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edx
	callq	_addr_hash
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rax
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	4(%rax), %ebx
	movq	%r14, %rdi
	callq	_netdev2pinfo
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	addq	$4, %rax
	jmp	LBB0_3
LBB0_2:
	movq	8(%rax), %rax
LBB0_3:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	movq	_IFF_802_1Q_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_5
## %bb.4:
	callq	_vlan_dev_vlan_id
	movq	%rax, %r14
	jmp	LBB0_6
LBB0_5:
	movq	_VLAN_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_6:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_write_lock_bh
	movq	8(%rbx), %rax
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	40(%rbx), %rbx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_addreq
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r13d, (%rbx)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r14, 8(%rbx)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 16(%rbx)
	jne	LBB0_14
## %bb.12:
	movq	%r12, %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_l2t_hold
	leaq	48(%rbx), %rdi
	callq	_atomic_read
	cmpl	$1, %eax
	jne	LBB0_18
## %bb.13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_reuse_entry
	jmp	LBB0_18
LBB0_15:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_alloc_l2e
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %rbx
	leaq	32(%rax), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	_L2T_STATE_RESOLVING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movl	52(%rbx), %edi
	movq	%r15, %rsi
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movl	%r13d, (%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, 24(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	cmpl	$16, %r15d
	sete	%al
	movl	%eax, 28(%rbx)
	movq	%rbx, %rdi
	addq	$48, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_neigh_replace
	movq	%r14, 8(%rbx)
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rcx
	movq	%rcx, 40(%rbx)
	movq	%rbx, (%rax,%r13,8)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	jmp	LBB0_18
LBB0_16:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%r12, %rdi
	callq	_write_unlock_bh
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_802_1Q_VLAN,4,2            ## @IFF_802_1Q_VLAN
	.comm	_VLAN_NONE,8,3                  ## @VLAN_NONE
	.comm	_L2T_STATE_RESOLVING,4,2        ## @L2T_STATE_RESOLVING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_l2t_get                  ; -- Begin function cxgb4_l2t_get
	.p2align	2
_cxgb4_l2t_get:                         ; @cxgb4_l2t_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x23, x8, [x1, #8]
	ldr	w21, [x8]
	ldr	x8, [x1]
	ldr	w22, [x8]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_addr_hash
	mov	x24, x0
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
Lloh0:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w26, w9, w8
	mov	x0, x25
	bl	_netdev2pinfo
	cbz	w26, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	add	x28, x8, #4
	b	LBB0_3
LBB0_2:
	ldr	x28, [x0, #8]
LBB0_3:
	ldr	x0, [x20]
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _IFF_802_1Q_VLAN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_802_1Q_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	bl	_vlan_dev_vlan_id
	mov	x26, x0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _VLAN_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VLAN_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x26, [x8]
LBB0_6:
	mov	x0, x19
	bl	_write_lock_bh
	ldr	x8, [x19, #8]
	ldr	x25, [x8, w24, sxtw #3]
	cbnz	x25, LBB0_11
LBB0_7:
	mov	x0, x19
	bl	_alloc_l2e
	mov	x25, x0
	cbz	x0, LBB0_9
; %bb.8:
	sxtw	x8, w24
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x27, x25, #32
	mov	x0, x27
	bl	_spin_lock
Lloh9:
	adrp	x8, _L2T_STATE_RESOLVING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _L2T_STATE_RESOLVING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x25, #56]
	ldr	w0, [x25, #52]
	mov	x1, x23
	mov	x2, x21
	bl	_memcpy
	str	w22, [x25]
	str	x28, [x25, #16]
	cmp	w21, #16
	cset	w8, eq
	stp	w24, w8, [x25, #24]
	add	x0, x25, #48
	mov	w1, #1
	bl	_atomic_set
	mov	x0, x25
	mov	x1, x20
	bl	_neigh_replace
	str	x26, [x25, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	str	x10, [x25, #40]
	str	x25, [x8, x9]
	mov	x0, x27
	bl	_spin_unlock
LBB0_9:
	mov	x0, x19
	bl	_write_unlock_bh
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x25, [x25, #40]
	cbz	x25, LBB0_7
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_addreq
	cbnz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
	cmp	w8, w22
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x25, #8]
	cmp	x8, x26
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x25, #16]
	cmp	x8, x28
	b.ne	LBB0_10
; %bb.15:
	mov	x0, x19
	mov	x1, x25
	bl	_l2t_hold
	add	x0, x25, #48
	bl	_atomic_read
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.16:
	mov	x0, x25
	mov	x1, x20
	bl	_reuse_entry
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_802_1Q_VLAN,4,2            ; @IFF_802_1Q_VLAN
	.comm	_VLAN_NONE,8,3                  ; @VLAN_NONE
	.comm	_L2T_STATE_RESOLVING,4,2        ; @L2T_STATE_RESOLVING
.subsections_via_symbols
