	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_qp_state
_update_qp_state:                       ## @update_qp_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_IBV_QP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	leaq	-32(%rbp), %rcx
	leaq	-40(%rbp), %r8
	movl	$4, %r9d
	callq	_ibv_cmd_query_qp
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
	movl	%eax, (%r14)
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_QP_STATE,4,2               ## @IBV_QP_STATE
	.no_dead_strip	_update_qp_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_state
_update_qp_state:                       ; @update_qp_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _IBV_QP_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_QP_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #16
	add	x3, sp, #8
	add	x4, sp, #24
	mov	w5, #4
	bl	_ibv_cmd_query_qp
	mov	x20, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w8, [sp, #16]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_QP_STATE,4,2               ; @IBV_QP_STATE
	.no_dead_strip	_update_qp_state
.subsections_via_symbols
