	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_trail_file
_do_trail_file:                         ## @do_trail_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_audit_warn_soft@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_audit_warn_hard@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_auditd_read_dirs
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_auditd_log_err
	movq	_ADE_HARDLIM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_audit_warn_allhard
LBB0_3:
	movq	_ADE_SOFTLIM@GOTPCREL(%rip), %rax
	movl	$-1, %r14d
	cmpl	(%rax), %ebx
	jne	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	callq	_audit_warn_allsoft
LBB0_5:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_swap_audit_file
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movq	_audit_warn_expired@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_auditd_expire_trails
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_auditd_log_err
	jmp	LBB0_9
LBB0_6:
	movl	$-1, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audit_warn_soft,4,2            ## @audit_warn_soft
	.comm	_audit_warn_hard,4,2            ## @audit_warn_hard
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auditd_read_dirs(): %s"

	.comm	_ADE_HARDLIM,4,2                ## @ADE_HARDLIM
	.comm	_ADE_SOFTLIM,4,2                ## @ADE_SOFTLIM
	.comm	_audit_warn_expired,4,2         ## @audit_warn_expired
L_.str.1:                               ## @.str.1
	.asciz	"auditd_expire_trails(): %s"

	.no_dead_strip	_do_trail_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_trail_file
_do_trail_file:                         ; @do_trail_file
	.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
Lloh0:
	adrp	x8, _audit_warn_soft@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audit_warn_soft@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _audit_warn_hard@GOTPAGE
Lloh4:
	ldr	x8, [x8, _audit_warn_hard@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_auditd_read_dirs
	cbz	w0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_auditd_strerror
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_err
Lloh8:
	adrp	x8, _ADE_HARDLIM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADE_HARDLIM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_3
; %bb.2:
	bl	_audit_warn_allhard
LBB0_3:
Lloh11:
	adrp	x8, _ADE_SOFTLIM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADE_SOFTLIM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_8
; %bb.4:
	bl	_audit_warn_allsoft
LBB0_5:
	bl	_swap_audit_file
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.6:
Lloh14:
	adrp	x8, _audit_warn_expired@GOTPAGE
Lloh15:
	ldr	x8, [x8, _audit_warn_expired@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_auditd_expire_trails
	cbz	w0, LBB0_9
; %bb.7:
	bl	_auditd_strerror
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_auditd_log_err
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_audit_warn_soft,4,2            ; @audit_warn_soft
	.comm	_audit_warn_hard,4,2            ; @audit_warn_hard
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auditd_read_dirs(): %s"

	.comm	_ADE_HARDLIM,4,2                ; @ADE_HARDLIM
	.comm	_ADE_SOFTLIM,4,2                ; @ADE_SOFTLIM
	.comm	_audit_warn_expired,4,2         ; @audit_warn_expired
l_.str.1:                               ; @.str.1
	.asciz	"auditd_expire_trails(): %s"

	.no_dead_strip	_do_trail_file
.subsections_via_symbols
