	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup
_setup:                                 ## @setup
	.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
	movq	_launchd_flag@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_auditd_open_trigger
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_err
	xorl	%eax, %eax
	callq	_fail_exit
LBB0_2:
	xorl	%eax, %eax
	callq	_auditd_prevent_audit
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_auditd_log_err
	xorl	%eax, %eax
	callq	_fail_exit
LBB0_4:
	movq	_AUD_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_auditd_set_state
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_audit_setup                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_launchd_flag,4,2               ## @launchd_flag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error opening trigger messaging mechanism"

L_.str.1:                               ## @.str.1
	.asciz	"auditd_prevent_audit() %s: %m"

	.comm	_AUD_STATE_INIT,4,2             ## @AUD_STATE_INIT
	.no_dead_strip	_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup
_setup:                                 ; @setup
	.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	x19, _launchd_flag@GOTPAGE
Lloh1:
	ldr	x19, [x19, _launchd_flag@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_auditd_open_trigger
	tbnz	x0, #63, LBB0_5
; %bb.1:
	bl	_auditd_prevent_audit
	cbz	w0, LBB0_3
LBB0_2:
	bl	_auditd_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_auditd_log_err
	bl	_fail_exit
LBB0_3:
Lloh4:
	adrp	x8, _AUD_STATE_INIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AUD_STATE_INIT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_auditd_set_state
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_err
	bl	_fail_exit
	bl	_auditd_prevent_audit
	cbnz	w0, LBB0_2
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_audit_setup
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_launchd_flag,4,2               ; @launchd_flag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error opening trigger messaging mechanism"

l_.str.1:                               ; @.str.1
	.asciz	"auditd_prevent_audit() %s: %m"

	.comm	_AUD_STATE_INIT,4,2             ; @AUD_STATE_INIT
	.no_dead_strip	_setup
.subsections_via_symbols
