	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function targ_generate_preget_query
_targ_generate_preget_query:            ## @targ_generate_preget_query
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tag_save@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	testq	%r9, %r9
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	jle	LBB0_4
## %bb.3:
	movq	_QLsave@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r9, %rdx
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%rbx, %r14
	movq	_Qsave@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_memcpy
	addl	(%r15), %ebx
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movq	_Q@GOTPCREL(%rip), %r12
	movq	(%r12), %r11
	movl	$808464432, (%r11)              ## imm = 0x30303030
	movq	_QLsave@GOTPCREL(%rip), %r10
	movl	(%r10), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.6:
	movq	_Qsave@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_CC@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdi
	movslq	%ecx, %rax
	cmpq	%rax, %rdi
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rdi,4), %esi
	movl	%esi, %eax
	cltd
	idivl	(%r13)
	cmpl	%r8d, %edx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movl	%esi, 4(%r11,%rax,4)
	movl	(%r10), %ecx
	jmp	LBB0_9
LBB0_5:
	xorl	%ebx, %ebx
LBB0_10:
	leal	4(,%rbx,4), %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r9, %rdx
	movl	%r15d, %ecx
	callq	_sprintf
	movslq	%eax, %r13
	addq	%r13, %r14
	movq	(%r12), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	leal	4(%r13,%rbx,4), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tag_save,8,3                   ## @tag_save
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set temp%d 0 0 %d\r\n"

	.comm	_QLsave,4,2                     ## @QLsave
	.comm	_Qsave,8,3                      ## @Qsave
	.comm	_Q,8,3                          ## @Q
	.comm	_CC,8,3                         ## @CC
L_.str.1:                               ## @.str.1
	.asciz	"set xtemp%d 0 0 %d\r\n"

	.no_dead_strip	_targ_generate_preget_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function targ_generate_preget_query
_targ_generate_preget_query:            ; @targ_generate_preget_query
	.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
Lloh0:
	adrp	x8, _tag_save@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tag_save@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	cbz	x2, LBB0_3
; %bb.1:
	mov	x19, x0
	cmp	x2, #1
	b.lt	LBB0_4
; %bb.2:
Lloh3:
	adrp	x21, _QLsave@GOTPAGE
Lloh4:
	ldr	x21, [x21, _QLsave@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x20, x0
	add	x0, x19, w0, sxtw
Lloh7:
	adrp	x8, _Qsave@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Qsave@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	w8, [x21]
	add	w0, w8, w20
	b	LBB0_11
LBB0_3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
Lloh10:
	adrp	x22, _Q@GOTPAGE
Lloh11:
	ldr	x22, [x22, _Q@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #808464432
	str	w9, [x8]
Lloh12:
	adrp	x9, _QLsave@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QLsave@GOTPAGEOFF]
	ldr	w12, [x9]
	cmp	w12, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x11, #0
	mov	w10, #0
Lloh14:
	adrp	x13, _Qsave@GOTPAGE
Lloh15:
	ldr	x13, [x13, _Qsave@GOTPAGEOFF]
Lloh16:
	ldr	x13, [x13]
Lloh17:
	adrp	x14, _CC@GOTPAGE
Lloh18:
	ldr	x14, [x14, _CC@GOTPAGEOFF]
Lloh19:
	ldr	x14, [x14]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	cmp	x11, w12, sxtw
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x13, x11, lsl #2]
	ldr	w16, [x14]
	sdiv	w17, w15, w16
	msub	w16, w17, w16, w15
	cmp	w16, w4
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w10, w10, #1
	str	w15, [x8, w10, sxtw #2]
	ldr	w12, [x9]
	b	LBB0_6
LBB0_9:
	mov	w10, #0
LBB0_10:
	lsl	w8, w10, #2
	add	w20, w8, #4
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_sprintf
	mov	x21, x0
	add	x0, x19, w0, sxtw
	ldr	x1, [x22]
	mov	x2, x20
	bl	_memcpy
	add	w0, w20, w21
LBB0_11:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_tag_save,8,3                   ; @tag_save
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set temp%d 0 0 %d\r\n"

	.comm	_QLsave,4,2                     ; @QLsave
	.comm	_Qsave,8,3                      ; @Qsave
	.comm	_Q,8,3                          ; @Q
	.comm	_CC,8,3                         ; @CC
l_.str.1:                               ; @.str.1
	.asciz	"set xtemp%d 0 0 %d\r\n"

	.no_dead_strip	_targ_generate_preget_query
.subsections_via_symbols
