	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_stop_bnx2_hw
_cnic_stop_bnx2_hw:                     ## @cnic_stop_bnx2_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_cnic_disable_bnx2_int_sync
	movq	_BNX2_CP_SCRATCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$32, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cnic_reg_wr_ind
	movq	_BNX2_COM_SCRATCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$32, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cnic_reg_wr_ind
	movq	_KWQ_CID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cnic_init_context
	movq	_KCQ_CID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cnic_init_context
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cnic_setup_5709_context
	movq	%rbx, %rdi
	callq	_cnic_free_irq
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cnic_free_resc                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_CP_SCRATCH,8,3            ## @BNX2_CP_SCRATCH
	.comm	_BNX2_COM_SCRATCH,8,3           ## @BNX2_COM_SCRATCH
	.comm	_KWQ_CID,4,2                    ## @KWQ_CID
	.comm	_KCQ_CID,4,2                    ## @KCQ_CID
	.no_dead_strip	_cnic_stop_bnx2_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_stop_bnx2_hw
_cnic_stop_bnx2_hw:                     ; @cnic_stop_bnx2_hw
	.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
	bl	_cnic_disable_bnx2_int_sync
Lloh0:
	adrp	x8, _BNX2_CP_SCRATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2_CP_SCRATCH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #32
	mov	x0, x19
	mov	w2, #0
	bl	_cnic_reg_wr_ind
Lloh3:
	adrp	x8, _BNX2_COM_SCRATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2_COM_SCRATCH@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, #32
	mov	x0, x19
	mov	w2, #0
	bl	_cnic_reg_wr_ind
Lloh6:
	adrp	x8, _KWQ_CID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KWQ_CID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cnic_init_context
Lloh9:
	adrp	x8, _KCQ_CID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KCQ_CID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cnic_init_context
	mov	x0, x19
	mov	w1, #0
	bl	_cnic_setup_5709_context
	mov	x0, x19
	bl	_cnic_free_irq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cnic_free_resc
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_CP_SCRATCH,8,3            ; @BNX2_CP_SCRATCH
	.comm	_BNX2_COM_SCRATCH,8,3           ; @BNX2_COM_SCRATCH
	.comm	_KWQ_CID,4,2                    ; @KWQ_CID
	.comm	_KCQ_CID,4,2                    ; @KCQ_CID
	.no_dead_strip	_cnic_stop_bnx2_hw
.subsections_via_symbols
