	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_tl_config                 ## -- Begin function read_tl_config
	.p2align	4, 0x90
_read_tl_config:                        ## @read_tl_config
	.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	%rdi, %r14
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	$-1, %r12d
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_lseek
	testq	%rax, %rax
	js	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	_MAX_TL_CONFIG_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jg	LBB0_7
## %bb.3:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_fprintf
LBB0_5:
	movq	%r15, %rdi
	callq	_malloc
	movq	%rax, %r13
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_lseek
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_read
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_assert
	movl	%ebx, %edi
	callq	_close
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_do_rpc_parse
	xorl	%eax, %eax
	callq	_renew_tl_config
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_free
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_zzstrdup
	movq	_tl_config_name@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%eax, %edi
	callq	_strlen
	movl	%eax, %edi
	callq	_ADD_PMALLOC
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_MAX_TL_CONFIG_SIZE,8,3         ## @MAX_TL_CONFIG_SIZE
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File found. Name %s. size = %lld\n"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_tl_config_name,4,2             ## @tl_config_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_tl_config                 ; -- Begin function read_tl_config
	.p2align	2
_read_tl_config:                        ; @read_tl_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	mov	w22, #-1
	tbnz	x0, #63, LBB0_8
; %bb.2:
	mov	x21, x0
Lloh6:
	adrp	x8, _MAX_TL_CONFIG_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_TL_CONFIG_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _verbosity@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.le	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_fprintf
LBB0_5:
	mov	x0, x21
	bl	_malloc
	mov	x23, x0
Lloh17:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_lseek
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_read
	cmp	x0, x21
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_close
	mov	x0, x23
	mov	x1, x21
	bl	_do_rpc_parse
	bl	_renew_tl_config
	mov	x22, x0
	mov	x0, x23
	bl	_free
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_zzstrdup
Lloh20:
	adrp	x8, _tl_config_name@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tl_config_name@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
	bl	_strlen
	bl	_ADD_PMALLOC
	b	LBB0_8
LBB0_7:
	mov	w22, #-1
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_MAX_TL_CONFIG_SIZE,8,3         ; @MAX_TL_CONFIG_SIZE
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File found. Name %s. size = %lld\n"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_tl_config_name,4,2             ; @tl_config_name
.subsections_via_symbols
