	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_get_ident
_query_get_ident:                       ## @query_get_ident
	.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	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, %ebx
	movb	$0, -41(%rbp)
	callq	_query_is_eot
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_query_raise_unexpected_eof
	jmp	LBB0_10
LBB0_2:
	movslq	%ebx, %rax
	addq	%r14, %rax
	movq	%rax, (%r13)
	movq	$0, (%r12)
	leaq	-41(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_query_peek_char
	cmpq	$0, (%r15)
	je	LBB0_3
LBB0_10:
	movl	%ebx, %eax
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movsbl	-41(%rbp), %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	incl	%ebx
	incq	(%r12)
	leaq	-41(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_query_peek_char
	cmpq	$0, (%r15)
	jne	LBB0_10
## %bb.5:
	leaq	-41(%rbp), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	incq	(%r12)
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_query_peek_char
	cmpq	$0, (%r15)
	jne	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-41(%rbp), %edi
	callq	_isalpha
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	-41(%rbp), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$95, -41(%rbp)
	je	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_query_get_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_get_ident
_query_get_ident:                       ; @query_get_ident
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	strb	wzr, [sp, #15]
	bl	_query_is_eot
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	_query_raise_unexpected_eof
	b	LBB0_5
LBB0_2:
	and	x24, x22, #0xffffffff00000000
	add	x8, x19, w22, sxtw
	str	x8, [x23]
	str	xzr, [x21]
	add	x2, sp, #15
	mov	x0, x22
	mov	x1, x19
	mov	x3, x20
	bl	_query_peek_char
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.3:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_4:
	mov	w8, w22
	orr	x22, x24, x8
LBB0_5:
	mov	x0, x22
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldrsb	w0, [sp, #15]
	bl	_isalpha
	cbz	x0, LBB0_5
; %bb.7:
	add	w22, w22, #1
	orr	x0, x24, x22
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w22, w22, #1
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	orr	x0, x24, x22
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #15
	mov	x1, x19
	mov	x3, x20
	bl	_query_peek_char
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w0, [sp, #15]
	bl	_isalpha
	cbnz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w0, [sp, #15]
	bl	_isdigit
	cbnz	x0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [sp, #15]
	cmp	w8, #95
	b.eq	LBB0_8
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_query_get_ident
.subsections_via_symbols
