	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_fetch_query_answer_flags    ## -- Begin function tl_fetch_query_answer_flags
	.p2align	4, 0x90
_tl_fetch_query_answer_flags:           ## @tl_fetch_query_answer_flags
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_tl_fetch_int
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_tl_fetch_error
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	(%r14), %eax
	movl	%eax, %edx
	andl	%ebx, %edx
	je	LBB0_3
## %bb.2:
	movq	_TL_ERROR_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	_TL_QUERY_RESULT_HEADER_FLAG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%ebx, %edx
	je	LBB0_7
## %bb.4:
	movq	_TL_ERROR_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_tl_fetch_set_error_format
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	orl	%ebx, %eax
	movl	%eax, (%r14)
	movq	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_tl_fetch_long
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
	callq	_tl_fetch_error
	testq	%rax, %rax
	jne	LBB0_6
LBB0_9:
	movq	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_tl_fetch_long
	movq	%rax, 8(%r14)
	xorl	%eax, %eax
	callq	_tl_fetch_error
	testq	%rax, %rax
	jne	LBB0_6
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TL_ERROR_HEADER,4,2            ## @TL_ERROR_HEADER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Duplicate flags in header 0x%08x"

	.comm	_TL_QUERY_RESULT_HEADER_FLAG_MASK,4,2 ## @TL_QUERY_RESULT_HEADER_FLAG_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported flags in header 0x%08x"

	.comm	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS,4,2 ## @TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS
	.comm	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME,4,2 ## @TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_fetch_query_answer_flags    ; -- Begin function tl_fetch_query_answer_flags
	.p2align	2
_tl_fetch_query_answer_flags:           ; @tl_fetch_query_answer_flags
	.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	_tl_fetch_int
	mov	x20, x0
	bl	_tl_fetch_error
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
	ands	w2, w8, w20
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _TL_ERROR_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TL_ERROR_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x9, _TL_QUERY_RESULT_HEADER_FLAG_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TL_QUERY_RESULT_HEADER_FLAG_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bics	w2, w20, w9
	b.eq	LBB0_8
; %bb.4:
Lloh8:
	adrp	x8, _TL_ERROR_HEADER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TL_ERROR_HEADER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_tl_fetch_set_error_format
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	orr	w8, w8, w20
	str	w8, [x19]
Lloh13:
	adrp	x8, _TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	bl	_tl_fetch_long
	str	x0, [x19, #16]
	bl	_tl_fetch_error
	cbnz	x0, LBB0_6
LBB0_10:
Lloh16:
	adrp	x8, _TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	bl	_tl_fetch_long
	str	x0, [x19, #8]
	bl	_tl_fetch_error
	cbnz	x0, LBB0_6
LBB0_12:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TL_ERROR_HEADER,4,2            ; @TL_ERROR_HEADER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Duplicate flags in header 0x%08x"

	.comm	_TL_QUERY_RESULT_HEADER_FLAG_MASK,4,2 ; @TL_QUERY_RESULT_HEADER_FLAG_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported flags in header 0x%08x"

	.comm	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS,4,2 ; @TL_QUERY_RESULT_HEADER_FLAG_BINLOG_POS
	.comm	_TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME,4,2 ; @TL_QUERY_RESULT_HEADER_FLAG_BINLOG_TIME
.subsections_via_symbols
