	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_state               ## -- Begin function auditd_set_state
	.p2align	4, 0x90
_auditd_set_state:                      ## @auditd_set_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_auditing_state@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_AUD_STATE_INIT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_init_audit_state
	movl	(%r14), %edi
	cmpl	%ebx, %edi
	jne	LBB0_4
	jmp	LBB0_7
LBB0_2:
	movl	%edi, (%r14)
	cmpl	%ebx, %edi
	je	LBB0_7
LBB0_4:
	movq	_AUD_STATE_ENABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_auditd_log_notice
	movl	(%r14), %edi
LBB0_6:
	movq	_AUD_STATE_DISABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_7
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_auditd_log_notice              ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_auditing_state,4,2             ## @auditing_state
	.comm	_AUD_STATE_INIT,4,2             ## @AUD_STATE_INIT
	.comm	_AUD_STATE_ENABLED,4,2          ## @AUD_STATE_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Auditing enabled"

	.comm	_AUD_STATE_DISABLED,4,2         ## @AUD_STATE_DISABLED
L_.str.1:                               ## @.str.1
	.asciz	"Auditing disabled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_state               ; -- Begin function auditd_set_state
	.p2align	2
_auditd_set_state:                      ; @auditd_set_state
	.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	x19, _auditing_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _auditing_state@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x8, _AUD_STATE_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUD_STATE_INIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	bl	_init_audit_state
	ldr	w0, [x19]
	cmp	w0, w20
	b.ne	LBB0_3
	b	LBB0_7
LBB0_2:
	str	w0, [x19]
	cmp	w0, w20
	b.eq	LBB0_7
LBB0_3:
Lloh5:
	adrp	x8, _AUD_STATE_ENABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AUD_STATE_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_notice
	ldr	w0, [x19]
LBB0_5:
Lloh10:
	adrp	x8, _AUD_STATE_DISABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AUD_STATE_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.6:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_auditd_log_notice
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_auditing_state,4,2             ; @auditing_state
	.comm	_AUD_STATE_INIT,4,2             ; @AUD_STATE_INIT
	.comm	_AUD_STATE_ENABLED,4,2          ; @AUD_STATE_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Auditing enabled"

	.comm	_AUD_STATE_DISABLED,4,2         ; @AUD_STATE_DISABLED
l_.str.1:                               ; @.str.1
	.asciz	"Auditing disabled"

.subsections_via_symbols
