	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_qp_retry_state
_update_qp_retry_state:                 ## @update_qp_retry_state
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	32(%rdi), %r12
	leaq	1(%rsi), %rax
	movq	%rax, 24(%rdi)
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	callq	_cmp_psn
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	incq	%rax
	xorl	%ecx, %ecx
	cmpq	8(%r15), %rax
	cmovlq	%rax, %rcx
	movq	%rcx, (%r15)
	movq	_WRITE_REQ@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_TID_OP
	movq	%rax, 16(%r15)
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cmp_psn
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	_WRITE_RESP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_REQ,4,2                  ## @WRITE_REQ
	.comm	_WRITE_RESP,4,2                 ## @WRITE_RESP
	.no_dead_strip	_update_qp_retry_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_qp_retry_state
_update_qp_retry_state:                 ; @update_qp_retry_state
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #32]
	add	x8, x1, #1
	str	x8, [x0, #24]
	mov	x0, x1
	mov	x1, x3
	bl	_cmp_psn
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	x8, [x22]
	add	x9, x8, #1
	ldr	x10, [x19, #8]
	cmp	x9, x10
	csinc	x8, xzr, x8, ge
	str	x8, [x19]
Lloh0:
	adrp	x8, _WRITE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRITE_REQ@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	bl	_TID_OP
	str	x0, [x19, #16]
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_cmp_psn
	cbz	x0, LBB0_5
LBB0_4:
	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
LBB0_5:
	ldr	x8, [x22]
	str	x8, [x19]
Lloh2:
	adrp	x8, _WRITE_RESP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WRITE_RESP@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_REQ,4,2                  ; @WRITE_REQ
	.comm	_WRITE_RESP,4,2                 ; @WRITE_RESP
	.no_dead_strip	_update_qp_retry_state
.subsections_via_symbols
