	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ll2_start
_qed_ll2_start:                         ## @qed_ll2_start
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_qed_ll2_is_storage_eng1
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_QED_AFFIN_HWFN
	movq	%rax, %r14
	movl	(%r12), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$0, 20(%rax)
	sete	%dil
	callq	_WARN_ON
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movq	_NET_SKB_PAD@GOTPCREL(%rip), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	_L1_CACHE_BYTES@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	addq	8(%r12), %rcx
	movq	(%rbx), %rax
	movq	%rcx, 8(%rax)
	movq	_QED_LL2_RX_SIZE@GOTPCREL(%rip), %rax
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	cmpl	$1, %r15d
	movl	$2, %r14d
	sbbl	$0, %r14d
	imull	(%rax), %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DP_INFO
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	leaq	8(%rax), %rsi
	movq	%rax, %rdx
	addq	$4, %rdx
	movq	%rbx, %rdi
	callq	_qed_ll2_alloc_buffer
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	decl	%r14d
	jne	LBB0_4
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	___qed_ll2_start
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	jmp	LBB0_24
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_25
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DP_INFO
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_24
LBB0_11:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	___qed_ll2_start
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	callq	_DP_NOTICE
	jmp	LBB0_23
LBB0_7:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_24
LBB0_14:
	movq	%r14, %rdi
	callq	_QED_IS_ISCSI_PERSONALITY
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	_QED_MSG_STORAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	callq	_DP_VERBOSE
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_qed_ll2_start_ooo
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, %r13d
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	jmp	LBB0_21
LBB0_17:
	movl	(%r12), %edx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_qed_llh_add_mac_filter
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movq	%r14, %rdi
	callq	_QED_IS_ISCSI_PERSONALITY
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_qed_ll2_stop_ooo
LBB0_20:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_21:
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movq	%rax, %rdi
	callq	___qed_ll2_stop
LBB0_23:
	movq	%r14, %rdi
	callq	___qed_ll2_stop
LBB0_24:
	movq	%rbx, %rdi
	callq	_qed_ll2_kill_buffers
	movq	_QED_LL2_UNUSED_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_25:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	8(%rbx), %edi
	movl	(%r12), %esi
	callq	_ether_addr_copy
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Ethernet address\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NET_SKB_PAD,8,3                ## @NET_SKB_PAD
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_L1_CACHE_BYTES,8,3             ## @L1_CACHE_BYTES
	.comm	_QED_LL2_RX_SIZE,4,2            ## @QED_LL2_RX_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Allocating %d LL2 buffers of size %08x bytes\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate LL2 buffers\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Failed to start LL2\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to start LL2 on engine 0\n"

	.comm	_QED_MSG_STORAGE,4,2            ## @QED_MSG_STORAGE
L_.str.5:                               ## @.str.5
	.asciz	"Starting OOO LL2 queue\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to start OOO LL2\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to add an LLH filter\n"

	.comm	_QED_LL2_UNUSED_HANDLE,4,2      ## @QED_LL2_UNUSED_HANDLE
	.no_dead_strip	_qed_ll2_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ll2_start
_qed_ll2_start:                         ; @qed_ll2_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_qed_ll2_is_storage_eng1
	mov	x21, x0
	mov	x0, x19
	bl	_QED_AFFIN_HWFN
	mov	x20, x0
	ldr	w0, [x22]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8, #20]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_spin_lock_init
Lloh0:
	adrp	x8, _NET_SKB_PAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_SKB_PAD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _L1_CACHE_BYTES@GOTPAGE
Lloh7:
	ldr	x10, [x10, _L1_CACHE_BYTES@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x8, x8, x10
	ldr	x9, [x22, #8]
	add	x8, x8, x9
	ldr	x9, [x19]
Lloh9:
	adrp	x10, _QED_LL2_RX_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QED_LL2_RX_SIZE@GOTPAGEOFF]
	str	x8, [x9, #8]
Lloh11:
	ldr	w9, [x10]
	cmp	w21, #0
	mov	w10, #1
	cinc	w10, w10, ne
	mul	w25, w9, w10
	stp	x25, x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
	cmp	w25, #1
	b.lt	LBB0_6
; %bb.2:
Lloh14:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	add	x1, x0, #8
	add	x2, x0, #4
	mov	x0, x19
	bl	_qed_ll2_alloc_buffer
	cbnz	w0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	add	x1, x8, #4
	mov	x0, x24
	bl	_list_add_tail
	subs	w25, w25, #1
	b.ne	LBB0_3
LBB0_6:
	mov	x0, x20
	mov	x1, x22
	bl	___qed_ll2_start
	cbz	w0, LBB0_10
; %bb.7:
	mov	x23, x0
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	b	LBB0_23
LBB0_8:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_24
LBB0_9:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_23
LBB0_10:
	cbz	w21, LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_QED_LEADING_HWFN
	mov	x1, x22
	bl	___qed_ll2_start
	cbz	w0, LBB0_14
; %bb.12:
	mov	x23, x0
	mov	x0, x19
	bl	_QED_LEADING_HWFN
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_DP_NOTICE
	b	LBB0_22
LBB0_13:
	mov	x23, x0
	mov	x0, x24
	bl	_kfree
	b	LBB0_23
LBB0_14:
	mov	x0, x20
	bl	_QED_IS_ISCSI_PERSONALITY
	cbz	x0, LBB0_17
; %bb.15:
Lloh30:
	adrp	x8, _QED_MSG_STORAGE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _QED_MSG_STORAGE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.5@PAGE
Lloh34:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	x0, x20
	mov	x1, x22
	bl	_qed_ll2_start_ooo
	cbz	w0, LBB0_17
; %bb.16:
	mov	x23, x0
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	b	LBB0_20
LBB0_17:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_qed_llh_add_mac_filter
	mov	x23, x0
	cbz	w0, LBB0_25
; %bb.18:
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	mov	x0, x20
	bl	_QED_IS_ISCSI_PERSONALITY
	cbz	x0, LBB0_20
; %bb.19:
	mov	x0, x20
	bl	_qed_ll2_stop_ooo
LBB0_20:
	cbz	w21, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_QED_LEADING_HWFN
	bl	___qed_ll2_stop
LBB0_22:
	mov	x0, x20
	bl	___qed_ll2_stop
LBB0_23:
	mov	x0, x19
	bl	_qed_ll2_kill_buffers
Lloh39:
	adrp	x8, _QED_LL2_UNUSED_HANDLE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _QED_LL2_UNUSED_HANDLE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9]
LBB0_24:
	mov	x0, x23
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_25:
	ldr	w0, [x19, #8]
	ldr	w1, [x22]
	bl	_ether_addr_copy
	b	LBB0_24
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Ethernet address\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NET_SKB_PAD,8,3                ; @NET_SKB_PAD
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_L1_CACHE_BYTES,8,3             ; @L1_CACHE_BYTES
	.comm	_QED_LL2_RX_SIZE,4,2            ; @QED_LL2_RX_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Allocating %d LL2 buffers of size %08x bytes\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate LL2 buffers\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Failed to start LL2\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to start LL2 on engine 0\n"

	.comm	_QED_MSG_STORAGE,4,2            ; @QED_MSG_STORAGE
l_.str.5:                               ; @.str.5
	.asciz	"Starting OOO LL2 queue\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to start OOO LL2\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to add an LLH filter\n"

	.comm	_QED_LL2_UNUSED_HANDLE,4,2      ; @QED_LL2_UNUSED_HANDLE
	.no_dead_strip	_qed_ll2_start
.subsections_via_symbols
