	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_setup
_audit_setup:                           ## @audit_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_auditd_set_dist
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_auditd_log_err
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_auditd_log_debug
LBB0_3:
	xorl	%eax, %eax
	callq	_do_trail_file
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_err
	xorl	%eax, %eax
	callq	_fail_exit
LBB0_5:
	movq	_AUE_audit_startup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_auditd_gen_record
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_auditd_log_err
LBB0_7:
	xorl	%eax, %eax
	callq	_auditd_config_controls
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbp
	jmp	_auditd_log_err                 ## TAILCALL
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	popq	%rbp
	jmp	_auditd_log_info                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auditd_set_dist() %s: %m"

L_.str.1:                               ## @.str.1
	.asciz	"Configured trail files distribution."

L_.str.2:                               ## @.str.2
	.asciz	"Error creating audit trail file"

	.comm	_AUE_audit_startup,4,2          ## @AUE_audit_startup
L_.str.3:                               ## @.str.3
	.asciz	"auditd_gen_record(AUE_audit_startup) %s: %m"

L_.str.4:                               ## @.str.4
	.asciz	"Audit controls init successful"

L_.str.5:                               ## @.str.5
	.asciz	"Audit controls init failed"

	.no_dead_strip	_audit_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_setup
_audit_setup:                           ; @audit_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_auditd_set_dist
	cbz	w0, LBB0_2
; %bb.1:
	bl	_auditd_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_err
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_auditd_log_debug
LBB0_3:
	bl	_do_trail_file
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_auditd_log_err
	bl	_fail_exit
LBB0_5:
Lloh6:
	adrp	x8, _AUE_audit_startup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AUE_audit_startup@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_auditd_gen_record
	cbz	w0, LBB0_7
; %bb.6:
	bl	_auditd_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_auditd_log_err
LBB0_7:
	bl	_auditd_config_controls
	cbz	x0, LBB0_9
; %bb.8:
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_auditd_log_err
LBB0_9:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_auditd_log_info
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auditd_set_dist() %s: %m"

l_.str.1:                               ; @.str.1
	.asciz	"Configured trail files distribution."

l_.str.2:                               ; @.str.2
	.asciz	"Error creating audit trail file"

	.comm	_AUE_audit_startup,4,2          ; @AUE_audit_startup
l_.str.3:                               ; @.str.3
	.asciz	"auditd_gen_record(AUE_audit_startup) %s: %m"

l_.str.4:                               ; @.str.4
	.asciz	"Audit controls init successful"

l_.str.5:                               ; @.str.5
	.asciz	"Audit controls init failed"

	.no_dead_strip	_audit_setup
.subsections_via_symbols
