	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_fcoe_start
_qed_fcoe_start:                        ## @qed_fcoe_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_QED_FLAG_STORAGE_STARTED@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_2:
	movq	%rsi, %r15
	movq	%rbx, %rdi
	callq	_QED_AFFIN_HWFN
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_qed_sp_fcoe_func_start
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movl	%r12d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	movl	4(%rbx), %edi
	callq	_hash_init
	testq	%r15, %r15
	je	LBB0_10
## %bb.5:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_QED_AFFIN_HWFN
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_qed_cxt_get_tid_mem_info
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movq	%rbx, %rdi
	callq	_qed_fcoe_stop
	movq	%r12, %rdi
	callq	_kfree
	movl	%r13d, %r14d
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movq	%rbx, %rdi
	callq	_qed_fcoe_stop
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_9:
	movl	8(%r12), %eax
	movl	%eax, 8(%r15)
	movl	4(%r12), %eax
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	movl	(%r12), %esi
	movq	_MAX_TID_BLOCKS_FCOE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$3, %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_FLAG_STORAGE_STARTED,4,2   ## @QED_FLAG_STORAGE_STARTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fcoe already started;\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
L_.str.1:                               ## @.str.1
	.asciz	"Failed to start fcoe\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate tasks information\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Failed to gather task information\n"

	.comm	_MAX_TID_BLOCKS_FCOE,4,2        ## @MAX_TID_BLOCKS_FCOE
	.no_dead_strip	_qed_fcoe_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_fcoe_start
_qed_fcoe_start:                        ; @qed_fcoe_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _QED_FLAG_STORAGE_STARTED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _QED_FLAG_STORAGE_STARTED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	mov	w22, #0
	b	LBB0_4
LBB0_2:
	mov	x20, x1
	mov	x0, x19
	bl	_QED_AFFIN_HWFN
Lloh4:
	adrp	x8, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_qed_sp_fcoe_func_start
	cbz	w0, LBB0_5
; %bb.3:
	mov	x22, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x21]
	ldp	w9, w0, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	bl	_hash_init
	cbz	x20, LBB0_9
; %bb.6:
Lloh9:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, x0
	mov	x0, x19
	bl	_QED_AFFIN_HWFN
	mov	x1, x21
	bl	_qed_cxt_get_tid_mem_info
	mov	x22, x0
	cbz	w0, LBB0_11
; %bb.8:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	mov	x0, x19
	bl	_qed_fcoe_stop
	b	LBB0_12
LBB0_9:
	mov	w22, #0
	b	LBB0_4
LBB0_10:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	mov	x0, x19
	bl	_qed_fcoe_stop
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_4
LBB0_11:
	ldur	d0, [x21, #4]
	stur	d0, [x20, #4]
	ldr	w0, [x20]
	ldr	w1, [x21]
Lloh19:
	adrp	x8, _MAX_TID_BLOCKS_FCOE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAX_TID_BLOCKS_FCOE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	lsl	w2, w8, #3
	bl	_memcpy
LBB0_12:
	mov	x0, x21
	bl	_kfree
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_FLAG_STORAGE_STARTED,4,2   ; @QED_FLAG_STORAGE_STARTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fcoe already started;\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
l_.str.1:                               ; @.str.1
	.asciz	"Failed to start fcoe\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate tasks information\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Failed to gather task information\n"

	.comm	_MAX_TID_BLOCKS_FCOE,4,2        ; @MAX_TID_BLOCKS_FCOE
	.no_dead_strip	_qed_fcoe_start
.subsections_via_symbols
