	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_header_files
_read_header_files:                     ## @read_header_files
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_get_tracing_file
	movq	%rax, %rbx
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	callq	_stat
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	movl	$12, %esi
	callq	_write_or_die
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_record_file
	movq	%rbx, %rdi
	callq	_put_tracing_file
	leaq	L_.str.3(%rip), %rdi
	callq	_get_tracing_file
	movq	%rax, %rbx
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	callq	_stat
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_4:
	leaq	L_.str.4(%rip), %rdi
	movl	$13, %esi
	callq	_write_or_die
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_record_file
	movq	%rbx, %rdi
	callq	_put_tracing_file
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"events/header_page"

L_.str.1:                               ## @.str.1
	.asciz	"can't read '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"header_page"

L_.str.3:                               ## @.str.3
	.asciz	"events/header_event"

L_.str.4:                               ## @.str.4
	.asciz	"header_event"

	.no_dead_strip	_read_header_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_header_files
_read_header_files:                     ; @read_header_files
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_get_tracing_file
	mov	x19, x0
	add	x1, sp, #8
	bl	_stat
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_2:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #12
	bl	_write_or_die
	mov	x0, x19
	mov	w1, #8
	bl	_record_file
	mov	x0, x19
	bl	_put_tracing_file
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_get_tracing_file
	mov	x19, x0
	add	x1, sp, #8
	bl	_stat
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_4:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #13
	bl	_write_or_die
	mov	x0, x19
	mov	w1, #8
	bl	_record_file
	mov	x0, x19
	bl	_put_tracing_file
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"events/header_page"

l_.str.1:                               ; @.str.1
	.asciz	"can't read '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"header_page"

l_.str.3:                               ; @.str.3
	.asciz	"events/header_event"

l_.str.4:                               ; @.str.4
	.asciz	"header_event"

	.no_dead_strip	_read_header_files
.subsections_via_symbols
