	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_audit_state
_init_audit_state:                      ## @init_audit_state
	.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	-12(%rbp), %rdi
	callq	_audit_get_cond
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movl	-12(%rbp), %eax
	movq	_AUC_NOAUDIT@GOTPCREL(%rip), %rcx
	movq	_AUC_DISABLED@GOTPCREL(%rip), %rsi
	movq	_AUD_STATE_DISABLED@GOTPCREL(%rip), %rdx
	movq	%rdx, %rbx
	cmpl	(%rsi), %eax
	je	LBB0_5
## %bb.4:
	movq	_AUD_STATE_ENABLED@GOTPCREL(%rip), %rbx
LBB0_5:
	cmpl	(%rcx), %eax
	cmoveq	%rdx, %rbx
	jmp	LBB0_6
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movq	_AUD_STATE_DISABLED@GOTPCREL(%rip), %rbx
	cmpq	(%rax), %rdi
	je	LBB0_6
## %bb.2:
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_auditd_log_err
LBB0_6:
	movl	(%rbx), %eax
	movq	_auditing_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOSYS,8,3                     ## @ENOSYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Audit status check failed (%s)"

	.comm	_AUD_STATE_DISABLED,4,2         ## @AUD_STATE_DISABLED
	.comm	_auditing_state,4,2             ## @auditing_state
	.comm	_AUC_NOAUDIT,4,2                ## @AUC_NOAUDIT
	.comm	_AUC_DISABLED,4,2               ## @AUC_DISABLED
	.comm	_AUD_STATE_ENABLED,4,2          ## @AUD_STATE_ENABLED
	.no_dead_strip	_init_audit_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_audit_state
_init_audit_state:                      ; @init_audit_state
	.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
	sub	x0, x29, #4
	bl	_audit_get_cond
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AUC_NOAUDIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUC_NOAUDIT@GOTPAGEOFF]
	ldur	w9, [x29, #-4]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _AUC_DISABLED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AUC_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	ccmp	w9, w8, #4, ne
Lloh6:
	adrp	x8, _AUD_STATE_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AUD_STATE_ENABLED@GOTPAGEOFF]
Lloh8:
	adrp	x9, _AUD_STATE_DISABLED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AUD_STATE_DISABLED@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	b	LBB0_5
LBB0_2:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	bl	_strerror
	mov	x1, x0
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_err
LBB0_4:
Lloh18:
	adrp	x8, _AUD_STATE_DISABLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AUD_STATE_DISABLED@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _auditing_state@GOTPAGE
Lloh21:
	ldr	x9, [x9, _auditing_state@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOSYS,8,3                     ; @ENOSYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Audit status check failed (%s)"

	.comm	_AUD_STATE_DISABLED,4,2         ; @AUD_STATE_DISABLED
	.comm	_auditing_state,4,2             ; @auditing_state
	.comm	_AUC_NOAUDIT,4,2                ; @AUC_NOAUDIT
	.comm	_AUC_DISABLED,4,2               ; @AUC_DISABLED
	.comm	_AUD_STATE_ENABLED,4,2          ; @AUD_STATE_ENABLED
	.no_dead_strip	_init_audit_state
.subsections_via_symbols
