	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_parse_integer
_query_parse_integer:                   ## @query_parse_integer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_RDT_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdx)
	movslq	%edi, %rax
	leaq	(%rsi,%rax,8), %rbx
	movq	_STRING_REP_INT64@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sscanf
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	decl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_isdigit
	incl	%r15d
	addq	$8, %rbx
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_3
LBB0_4:
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_query_raise_expected_number
LBB0_3:
	movl	%r15d, %eax
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDT_INT,4,2                    ## @RDT_INT
	.comm	_STRING_REP_INT64,4,2           ## @STRING_REP_INT64
	.no_dead_strip	_query_parse_integer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_parse_integer
_query_parse_integer:                   ; @query_parse_integer
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RDT_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDT_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #4]
	lsl	x8, x0, #32
	add	x0, x1, x8, asr #29
Lloh3:
	adrp	x8, _STRING_REP_INT64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRING_REP_INT64@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_sscanf
	cbz	x0, LBB0_4
; %bb.1:
	sxtw	x21, w20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x21, lsl #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_isdigit
	add	x21, x21, #1
	cbnz	x0, LBB0_2
; %bb.3:
	sub	x8, x21, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_query_raise_expected_number
	mov	x8, x20
LBB0_5:
	bfxil	x20, x8, #0, #32
	mov	x0, x20
	mov	x1, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDT_INT,4,2                    ; @RDT_INT
	.comm	_STRING_REP_INT64,4,2           ; @STRING_REP_INT64
	.no_dead_strip	_query_parse_integer
.subsections_via_symbols
