	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_ftrace_printk
_read_ftrace_printk:                    ## @read_ftrace_printk
	.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
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_record_file
	jmp	LBB0_3
LBB0_1:
	movl	$0, -12(%rbp)
	leaq	-12(%rbp), %rdi
	movl	$4, %esi
	callq	_write_or_die
LBB0_3:
	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	"printk_formats"

	.no_dead_strip	_read_ftrace_printk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_ftrace_printk
_read_ftrace_printk:                    ; @read_ftrace_printk
	.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
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #4
	bl	_record_file
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #12]
	add	x0, sp, #12
	mov	w1, #4
	bl	_write_or_die
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"printk_formats"

	.no_dead_strip	_read_ftrace_printk
.subsections_via_symbols
