	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_nvm_set_cfg            ## -- Begin function qed_mcp_nvm_set_cfg
	.p2align	4, 0x90
_qed_mcp_nvm_set_cfg:                   ## @qed_mcp_nvm_set_cfg
	.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	%r9, %r14
	movl	%r8d, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_QED_MFW_SET_FIELD
	movq	_QED_NVM_CFG_OPTION_ALL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_QED_MFW_SET_FIELD
LBB0_2:
	movq	_QED_NVM_CFG_OPTION_INIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_QED_MFW_SET_FIELD
LBB0_4:
	movq	_QED_NVM_CFG_OPTION_COMMIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_QED_MFW_SET_FIELD
LBB0_6:
	movq	_QED_NVM_CFG_OPTION_FREE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_QED_MFW_SET_FIELD
LBB0_8:
	movl	16(%rbp), %r12d
	movq	_QED_NVM_CFG_OPTION_ENTITY_SEL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_QED_MFW_SET_FIELD
	movq	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_QED_MFW_SET_FIELD
LBB0_10:
	movq	_DRV_MSG_CODE_SET_NVM_CFG_OPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	pushq	%r14
	pushq	%r12
	callq	_qed_mcp_nvm_wr_cmd
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ID,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_ID
	.comm	_QED_NVM_CFG_OPTION_ALL,4,2     ## @QED_NVM_CFG_OPTION_ALL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ALL,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_ALL
	.comm	_QED_NVM_CFG_OPTION_INIT,4,2    ## @QED_NVM_CFG_OPTION_INIT
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_INIT,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_INIT
	.comm	_QED_NVM_CFG_OPTION_COMMIT,4,2  ## @QED_NVM_CFG_OPTION_COMMIT
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT
	.comm	_QED_NVM_CFG_OPTION_FREE,4,2    ## @QED_NVM_CFG_OPTION_FREE
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_FREE,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_FREE
	.comm	_QED_NVM_CFG_OPTION_ENTITY_SEL,4,2 ## @QED_NVM_CFG_OPTION_ENTITY_SEL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID,4,2 ## @DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID
	.comm	_DRV_MSG_CODE_SET_NVM_CFG_OPTION,4,2 ## @DRV_MSG_CODE_SET_NVM_CFG_OPTION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_nvm_set_cfg            ; -- Begin function qed_mcp_nvm_set_cfg
	.p2align	2
_qed_mcp_nvm_set_cfg:                   ; @qed_mcp_nvm_set_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x24, x4
	mov	x23, x3
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_QED_MFW_SET_FIELD
Lloh3:
	adrp	x8, _QED_NVM_CFG_OPTION_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_NVM_CFG_OPTION_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_QED_MFW_SET_FIELD
LBB0_2:
Lloh9:
	adrp	x8, _QED_NVM_CFG_OPTION_INIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QED_NVM_CFG_OPTION_INIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_INIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_INIT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_QED_MFW_SET_FIELD
LBB0_4:
Lloh15:
	adrp	x8, _QED_NVM_CFG_OPTION_COMMIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QED_NVM_CFG_OPTION_COMMIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_QED_MFW_SET_FIELD
LBB0_6:
Lloh21:
	adrp	x8, _QED_NVM_CFG_OPTION_FREE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QED_NVM_CFG_OPTION_FREE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_8
; %bb.7:
Lloh24:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_FREE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_FREE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_QED_MFW_SET_FIELD
LBB0_8:
Lloh27:
	adrp	x8, _QED_NVM_CFG_OPTION_ENTITY_SEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QED_NVM_CFG_OPTION_ENTITY_SEL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_10
; %bb.9:
Lloh30:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_QED_MFW_SET_FIELD
Lloh33:
	adrp	x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	w0, #0
	mov	x2, x23
	bl	_QED_MFW_SET_FIELD
LBB0_10:
Lloh36:
	adrp	x8, _DRV_MSG_CODE_SET_NVM_CFG_OPTION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DRV_MSG_CODE_SET_NVM_CFG_OPTION@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	w3, #0
	mov	x6, x19
	mov	x7, x20
	bl	_qed_mcp_nvm_wr_cmd
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ID,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_ID
	.comm	_QED_NVM_CFG_OPTION_ALL,4,2     ; @QED_NVM_CFG_OPTION_ALL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ALL,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_ALL
	.comm	_QED_NVM_CFG_OPTION_INIT,4,2    ; @QED_NVM_CFG_OPTION_INIT
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_INIT,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_INIT
	.comm	_QED_NVM_CFG_OPTION_COMMIT,4,2  ; @QED_NVM_CFG_OPTION_COMMIT
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_COMMIT
	.comm	_QED_NVM_CFG_OPTION_FREE,4,2    ; @QED_NVM_CFG_OPTION_FREE
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_FREE,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_FREE
	.comm	_QED_NVM_CFG_OPTION_ENTITY_SEL,4,2 ; @QED_NVM_CFG_OPTION_ENTITY_SEL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_SEL
	.comm	_DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID,4,2 ; @DRV_MB_PARAM_NVM_CFG_OPTION_ENTITY_ID
	.comm	_DRV_MSG_CODE_SET_NVM_CFG_OPTION,4,2 ; @DRV_MSG_CODE_SET_NVM_CFG_OPTION
.subsections_via_symbols
