	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_query_qp                 ## -- Begin function ipath_query_qp
	.p2align	4, 0x90
_ipath_query_qp:                        ## @ipath_query_qp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	callq	_to_iqp
	movq	%rax, %r15
	movl	120(%rax), %eax
	movl	%eax, 148(%rbx)
	movl	%eax, 152(%rbx)
	movl	116(%r15), %eax
	movl	%eax, 144(%rbx)
	movq	$0, 136(%rbx)
	movl	112(%r15), %eax
	movl	%eax, 132(%rbx)
	movups	96(%r15), %xmm0
	movups	%xmm0, 116(%rbx)
	movq	88(%r15), %rax
	decq	%rax
	movq	%rax, 32(%rbx)
	xorl	%eax, %eax
	cmpq	$0, 16(%r15)
	jne	LBB0_2
## %bb.1:
	movl	76(%r15), %eax
	decl	%eax
LBB0_2:
	movl	%eax, 8(%rbx)
	movl	84(%r15), %eax
	movl	%eax, 28(%rbx)
	movl	80(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movl	72(%r15), %eax
	movl	%eax, 112(%rbx)
	leaq	108(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	68(%r15), %eax
	movl	%eax, 104(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rbx)
	movl	64(%r15), %eax
	movl	%eax, 80(%rbx)
	movl	60(%r15), %eax
	movl	%eax, 76(%rbx)
	movl	56(%r15), %eax
	movl	%eax, 72(%rbx)
	movl	$1, (%rbx)
	movups	40(%r15), %xmm1
	movups	%xmm1, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movups	24(%r15), %xmm0
	movups	%xmm0, 56(%r14)
	movq	16(%r15), %rax
	movq	%rax, 48(%r14)
	movups	8(%rbx), %xmm0
	movups	24(%rbx), %xmm1
	movups	%xmm1, 32(%r14)
	movups	%xmm0, 16(%r14)
	movq	_IPATH_S_SIGNAL_REQ_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	jne	LBB0_3
## %bb.4:
	movq	_IB_SIGNAL_ALL_WR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IB_SIGNAL_REQ_WR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	8(%r15), %eax
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPATH_S_SIGNAL_REQ_WR,4,2      ## @IPATH_S_SIGNAL_REQ_WR
	.comm	_IB_SIGNAL_REQ_WR,4,2           ## @IB_SIGNAL_REQ_WR
	.comm	_IB_SIGNAL_ALL_WR,4,2           ## @IB_SIGNAL_ALL_WR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipath_query_qp                 ; -- Begin function ipath_query_qp
	.p2align	2
_ipath_query_qp:                        ; @ipath_query_qp
	.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, x3
	mov	x21, x1
	bl	_to_iqp
	mov	x20, x0
	ldr	w8, [x0, #120]
	str	w8, [x21, #152]
	ldp	w10, w9, [x0, #112]
	stp	w9, w8, [x21, #144]
	str	xzr, [x21, #136]
	str	w10, [x21, #132]
	ldr	q0, [x0, #96]
	stur	q0, [x21, #116]
	ldr	x8, [x0, #88]
	sub	x8, x8, #1
	str	x8, [x21, #32]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20, #76]
	sub	w8, w8, #1
LBB0_3:
	str	w8, [x21, #8]
	ldr	d0, [x20, #80]
	str	d0, [x21, #24]
	str	xzr, [x21, #16]
	ldr	w8, [x20, #72]
	str	w8, [x21, #112]
	add	x0, x21, #108
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x20, #68]
	str	w8, [x21, #104]
	stp	xzr, xzr, [x21, #88]
	ldr	w8, [x20, #64]
	str	w8, [x21, #80]
	ldr	d0, [x20, #56]
	str	d0, [x21, #72]
	mov	w8, #1
	str	w8, [x21]
	ldur	q0, [x20, #40]
	stur	q0, [x21, #56]
	stp	xzr, xzr, [x21, #40]
	ldur	q0, [x20, #24]
	stur	q0, [x19, #56]
	ldr	x9, [x20, #16]
	str	x9, [x19, #48]
	ldur	q0, [x21, #24]
	ldur	q1, [x21, #8]
	stp	q1, q0, [x19, #16]
	ldr	w9, [x20]
Lloh0:
	adrp	x10, _IPATH_S_SIGNAL_REQ_WR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPATH_S_SIGNAL_REQ_WR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _IB_SIGNAL_ALL_WR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IB_SIGNAL_ALL_WR@GOTPAGEOFF]
Lloh5:
	adrp	x12, _IB_SIGNAL_REQ_WR@GOTPAGE
Lloh6:
	ldr	x12, [x12, _IB_SIGNAL_REQ_WR@GOTPAGEOFF]
	tst	w10, w9
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
	str	w9, [x19, #8]
	ldr	w9, [x20, #8]
	stp	w8, w9, [x19]
	mov	w0, #0
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPATH_S_SIGNAL_REQ_WR,4,2      ; @IPATH_S_SIGNAL_REQ_WR
	.comm	_IB_SIGNAL_REQ_WR,4,2           ; @IB_SIGNAL_REQ_WR
	.comm	_IB_SIGNAL_ALL_WR,4,2           ; @IB_SIGNAL_ALL_WR
.subsections_via_symbols
