	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_query_qp
_nes_query_qp:                          ## @nes_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_nesqp
	movq	%rax, %r15
	movq	_NES_DBG_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_nes_debug
	movq	$0, 16(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	$1, (%rbx)
	movq	_nes_drv_opt@GOTPCREL(%rip), %rax
	movq	_NES_DRV_OPT_NO_INLINE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rax), %ecx
	sete	%dl
	shll	$6, %edx
	movl	%edx, 4(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 32(%r14)
	movups	(%r15), %xmm0
	movups	%xmm0, 16(%r14)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_DBG_QP,4,2                 ## @NES_DBG_QP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_nes_drv_opt,4,2                ## @nes_drv_opt
	.comm	_NES_DRV_OPT_NO_INLINE_DATA,4,2 ## @NES_DRV_OPT_NO_INLINE_DATA
	.no_dead_strip	_nes_query_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_query_qp
_nes_query_qp:                          ; @nes_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	x20, x1
	bl	_to_nesqp
	mov	x21, x0
Lloh0:
	adrp	x8, _NES_DBG_QP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NES_DBG_QP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nes_debug
	str	xzr, [x20, #16]
	ldur	d0, [x21, #20]
	str	d0, [x20, #8]
	mov	w8, #1
	str	w8, [x20]
Lloh5:
	adrp	x8, _nes_drv_opt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nes_drv_opt@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _NES_DRV_OPT_NO_INLINE_DATA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NES_DRV_OPT_NO_INLINE_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, eq
	lsl	w8, w8, #6
	str	w8, [x20, #4]
	ldr	w8, [x21, #16]
	str	w8, [x19, #32]
	ldr	q0, [x21]
	str	q0, [x19, #16]
	ldr	q0, [x20]
	str	q0, [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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_DBG_QP,4,2                 ; @NES_DBG_QP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_nes_drv_opt,4,2                ; @nes_drv_opt
	.comm	_NES_DRV_OPT_NO_INLINE_DATA,4,2 ; @NES_DRV_OPT_NO_INLINE_DATA
	.no_dead_strip	_nes_query_qp
.subsections_via_symbols
