	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_qm_reconf                  ## -- Begin function qed_qm_reconf
	.p2align	4, 0x90
_qed_qm_reconf:                         ## @qed_qm_reconf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_qed_init_qm_info
	movq	_qm_lock@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r8d
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_qed_send_qm_stop_cmd
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_qed_init_clear_rt_data
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_qed_qm_init_pf
	movq	_PHASE_QM_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qed_init_run
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_qm_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_qed_send_qm_stop_cmd
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movl	$0, %r15d
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qm_lock,4,2                    ## @qm_lock
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PHASE_QM_PF,4,2                ## @PHASE_QM_PF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_qm_reconf                  ; -- Begin function qed_qm_reconf
	.p2align	2
_qed_qm_reconf:                         ; @qed_qm_reconf
	.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, x1
	mov	x20, x0
	bl	_qed_init_qm_info
Lloh0:
	adrp	x21, _qm_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _qm_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_bh
	ldp	w5, w4, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w3, #1
	bl	_qed_send_qm_stop_cmd
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	cbz	w22, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_qed_init_clear_rt_data
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_qed_qm_init_pf
Lloh2:
	adrp	x8, _PHASE_QM_PF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHASE_QM_PF@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldp	w4, w3, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_init_run
	cbnz	w0, LBB0_5
; %bb.2:
Lloh5:
	adrp	x21, _qm_lock@GOTPAGE
Lloh6:
	ldr	x21, [x21, _qm_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_bh
	ldp	w5, w4, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #1
	bl	_qed_send_qm_stop_cmd
	mov	x19, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	cbz	w19, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_qm_lock,4,2                    ; @qm_lock
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PHASE_QM_PF,4,2                ; @PHASE_QM_PF
.subsections_via_symbols
