	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qlcnic_dcb_attach
___qlcnic_dcb_attach:                   ## @__qlcnic_dcb_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$32, %rdi
	movq	_qlcnic_dcb_aen_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r14), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, 16(%rbx)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rdi
	callq	_kfree
	movq	$0, 8(%rbx)
	jmp	LBB0_6
LBB0_1:
	movq	24(%rbx), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movl	$-1, %r14d
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	negl	%r14d
	movq	(%rbx), %rdi
	callq	_destroy_workqueue
	movq	$0, (%rbx)
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qlcnic_dcb_aen_work,4,2        ## @qlcnic_dcb_aen_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qlcnic-dcb"

L_.str.1:                               ## @.str.1
	.asciz	"DCB workqueue allocation failed. DCB will be disabled\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	___qlcnic_dcb_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qlcnic_dcb_attach
___qlcnic_dcb_attach:                   ; @__qlcnic_dcb_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #32
Lloh0:
	adrp	x8, _qlcnic_dcb_aen_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qlcnic_dcb_aen_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x20, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x20, [x20, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #4
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w1, [x20]
	mov	w0, #4
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.3:
	mov	w20, #0
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	x0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	mov	w20, #-1
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
LBB0_7:
	neg	w20, w20
	ldr	x0, [x19]
	bl	_destroy_workqueue
	str	xzr, [x19]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_qlcnic_dcb_aen_work,4,2        ; @qlcnic_dcb_aen_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qlcnic-dcb"

l_.str.1:                               ; @.str.1
	.asciz	"DCB workqueue allocation failed. DCB will be disabled\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	___qlcnic_dcb_attach
.subsections_via_symbols
