	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dev_set_npar_ready
_qlcnic_dev_set_npar_ready:             ## @qlcnic_dev_set_npar_ready
	.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	_qlcnic_api_lock
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_QLCNIC_CRB_DEV_NPAR_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLCNIC_DEV_NPAR_OPER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_QLC_SHARED_REG_WR32
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_QLCDB
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qlcnic_api_unlock              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CRB_DEV_NPAR_STATE,4,2  ## @QLCNIC_CRB_DEV_NPAR_STATE
	.comm	_QLCNIC_DEV_NPAR_OPER,4,2       ## @QLCNIC_DEV_NPAR_OPER
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NPAR operational state set\n"

	.no_dead_strip	_qlcnic_dev_set_npar_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dev_set_npar_ready
_qlcnic_dev_set_npar_ready:             ; @qlcnic_dev_set_npar_ready
	.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	_qlcnic_api_lock
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _QLCNIC_CRB_DEV_NPAR_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CRB_DEV_NPAR_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _QLCNIC_DEV_NPAR_OPER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_DEV_NPAR_OPER@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_QLC_SHARED_REG_WR32
Lloh6:
	adrp	x8, _DRV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_QLCDB
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qlcnic_api_unlock
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CRB_DEV_NPAR_STATE,4,2  ; @QLCNIC_CRB_DEV_NPAR_STATE
	.comm	_QLCNIC_DEV_NPAR_OPER,4,2       ; @QLCNIC_DEV_NPAR_OPER
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NPAR operational state set\n"

	.no_dead_strip	_qlcnic_dev_set_npar_ready
.subsections_via_symbols
