	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_resc_lock_default_init ## -- Begin function qed_mcp_resc_lock_default_init
	.p2align	4, 0x90
_qed_mcp_resc_lock_default_init:        ## @qed_mcp_resc_lock_default_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movl	%ecx, %r12d
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	_QED_MCP_RESC_LOCK_TO_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	_QED_MCP_RESC_LOCK_RETRY_CNT_DFLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_QED_MCP_RESC_LOCK_RETRY_VAL_DFLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$1, (%rbx)
LBB0_4:
	movl	%r14d, 4(%rbx)
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	%r14d, 4(%r15)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MCP_RESC_LOCK_TO_NONE,4,2  ## @QED_MCP_RESC_LOCK_TO_NONE
	.comm	_QED_MCP_RESC_LOCK_RETRY_CNT_DFLT,4,2 ## @QED_MCP_RESC_LOCK_RETRY_CNT_DFLT
	.comm	_QED_MCP_RESC_LOCK_RETRY_VAL_DFLT,4,2 ## @QED_MCP_RESC_LOCK_RETRY_VAL_DFLT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_mcp_resc_lock_default_init ; -- Begin function qed_mcp_resc_lock_default_init
	.p2align	2
_qed_mcp_resc_lock_default_init:        ; @qed_mcp_resc_lock_default_init
	.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, x2
	mov	x20, x1
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x3
	mov	x21, x0
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	cbz	w22, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _QED_MCP_RESC_LOCK_TO_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MCP_RESC_LOCK_TO_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _QED_MCP_RESC_LOCK_RETRY_CNT_DFLT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_MCP_RESC_LOCK_RETRY_CNT_DFLT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _QED_MCP_RESC_LOCK_RETRY_VAL_DFLT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QED_MCP_RESC_LOCK_RETRY_VAL_DFLT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
	mov	w8, #1
	str	w8, [x21]
LBB0_4:
	str	w19, [x21, #4]
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	str	w19, [x20, #4]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MCP_RESC_LOCK_TO_NONE,4,2  ; @QED_MCP_RESC_LOCK_TO_NONE
	.comm	_QED_MCP_RESC_LOCK_RETRY_CNT_DFLT,4,2 ; @QED_MCP_RESC_LOCK_RETRY_CNT_DFLT
	.comm	_QED_MCP_RESC_LOCK_RETRY_VAL_DFLT,4,2 ; @QED_MCP_RESC_LOCK_RETRY_VAL_DFLT
.subsections_via_symbols
