	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_result_get_header_len       ## -- Begin function tl_result_get_header_len
	.p2align	4, 0x90
_tl_result_get_header_len:              ## @tl_result_get_header_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	callq	_tl_result_new_flags
	movq	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	setne	%dl
	shll	$3, %edx
	movq	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	testl	%eax, (%rcx)
	setne	%sil
	leal	(%rdx,%rsi,8), %eax
	addl	$8, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS,4,2 ## @TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS
	.comm	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME,4,2 ## @TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_result_get_header_len       ; -- Begin function tl_result_get_header_len
	.p2align	2
_tl_result_get_header_len:              ; @tl_result_get_header_len
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	cbz	w0, LBB0_2
; %bb.1:
	bl	_tl_result_new_flags
Lloh0:
	adrp	x8, _TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w8, #16
	mov	w9, #8
	csel	w8, w9, w8, eq
Lloh3:
	adrp	x9, _TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w10, w8, #8
	tst	w9, w0
	csel	w0, w8, w10, eq
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS,4,2 ; @TL_QUERY_HEADER_FLAG_RETURN_BINLOG_POS
	.comm	_TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME,4,2 ; @TL_QUERY_HEADER_FLAG_RETURN_BINLOG_TIME
.subsections_via_symbols
