	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeTSQuerySign                ## -- Begin function makeTSQuerySign
	.p2align	4, 0x90
_makeTSQuerySign:                       ## @makeTSQuerySign
	.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	%rdi, %rbx
	callq	_GETQUERY
	movl	(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	%rax, %rsi
	movq	_QI_VAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_TSQS_SIGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
LBB0_10:
	testb	$1, %r8b
	je	LBB0_13
## %bb.11:
	cmpq	%rbx, (%rsi)
	jne	LBB0_13
## %bb.12:
	movl	8(%rsi), %eax
	xorl	%edx, %edx
	divl	%r9d
	btsl	%edx, %ecx
	jmp	LBB0_13
LBB0_1:
	xorl	%ecx, %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$32, %rsi
	addl	$-2, %edi
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rsi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rsi), %eax
	xorl	%edx, %edx
	divl	%r9d
	btsl	%edx, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, 16(%rsi)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%rsi), %eax
	xorl	%edx, %edx
	divl	%r9d
	btsl	%edx, %ecx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.comm	_TSQS_SIGLEN,4,2                ## @TSQS_SIGLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeTSQuerySign                ; -- Begin function makeTSQuerySign
	.p2align	2
_makeTSQuerySign:                       ; @makeTSQuerySign
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_GETQUERY
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x10, _QI_VAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _QI_VAL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _TSQS_SIGLEN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _TSQS_SIGLEN@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	add	x8, x8, #8
	mov	w12, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #16
	subs	w9, w9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x13, [x8, #-8]
	cmp	x13, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x8]
	udiv	w14, w13, w11
	msub	w13, w14, w11, w13
	lsl	w13, w12, w13
	orr	w0, w13, w0
	b	LBB0_2
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.comm	_TSQS_SIGLEN,4,2                ; @TSQS_SIGLEN
.subsections_via_symbols
