	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_wqe_state
_update_wqe_state:                      ## @update_wqe_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_RXE_END_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_1
## %bb.2:
	callq	_qp_type
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_wqe_state_pending@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_wqe_state_processing@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXE_END_MASK,4,2               ## @RXE_END_MASK
	.comm	_IB_QPT_RC,8,3                  ## @IB_QPT_RC
	.comm	_wqe_state_pending,4,2          ## @wqe_state_pending
	.comm	_wqe_state_processing,4,2       ## @wqe_state_processing
	.no_dead_strip	_update_wqe_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_wqe_state
_update_wqe_state:                      ; @update_wqe_state
	.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, x1
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _RXE_END_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXE_END_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	bl	_qp_type
Lloh3:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _wqe_state_pending@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wqe_state_pending@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _wqe_state_processing@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wqe_state_processing@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RXE_END_MASK,4,2               ; @RXE_END_MASK
	.comm	_IB_QPT_RC,8,3                  ; @IB_QPT_RC
	.comm	_wqe_state_pending,4,2          ; @wqe_state_pending
	.comm	_wqe_state_processing,4,2       ; @wqe_state_processing
	.no_dead_strip	_update_wqe_state
.subsections_via_symbols
