	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_qp
_find_qp:                               ## @find_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ctx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	xorl	%ebx, %ebx
	cmpq	$1, %rax
	je	LBB0_7
## %bb.1:
	movl	%edi, %edx
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movq	8(%rcx), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx,8), %rdi
	cmpl	%edx, (%rdi)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_7
LBB0_6:
	movl	%ecx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,16,3                       ## @ctx
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to find qp %x\n"

	.no_dead_strip	_find_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_qp
_find_qp:                               ; @find_qp
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _ctx@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ctx@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x2, x0
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x0, #0
	ldr	x9, [x9, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x0, lsl #3]
	ldr	w10, [x10]
	cmp	w10, w2
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	cmp	x8, x0
	b.ne	LBB0_3
LBB0_5:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_6:
	mov	w0, #0
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,16,3                       ; @ctx
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to find qp %x\n"

	.no_dead_strip	_find_qp
.subsections_via_symbols
