	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_namask              ## -- Begin function auditd_set_namask
	.p2align	4, 0x90
_auditd_set_namask:                     ## @auditd_set_namask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_NA_EVENT_STR_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_getacna
	movq	_ADE_PARSE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_getauditflagsbin
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	leaq	-36(%rbp), %rdi
	movl	$4, %esi
	callq	_audit_set_kmask
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_ADE_NOERR@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_3:
	movq	_ADE_AUDITON@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NA_EVENT_STR_SIZE,4,2          ## @NA_EVENT_STR_SIZE
	.comm	_ADE_PARSE,4,2                  ## @ADE_PARSE
	.comm	_ADE_AUDITON,4,2                ## @ADE_AUDITON
	.comm	_ADE_NOERR,4,2                  ## @ADE_NOERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_namask              ; -- Begin function auditd_set_namask
	.p2align	2
_auditd_set_namask:                     ; @auditd_set_namask
	.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
	sub	sp, sp, #16
	mov	x20, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x12, _NA_EVENT_STR_SIZE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _NA_EVENT_STR_SIZE@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	w1, [x12]
	mov	x0, x19
	bl	_getacna
	cbnz	x0, LBB0_2
; %bb.1:
	sub	x1, x29, #28
	mov	x0, x19
	bl	_getauditflagsbin
	cbz	x0, LBB0_5
LBB0_2:
Lloh7:
	adrp	x8, _ADE_PARSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ADE_PARSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	mov	sp, x20
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	sub	x0, x29, #28
	mov	w1, #4
	bl	_audit_set_kmask
Lloh12:
	adrp	x8, _ADE_AUDITON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADE_AUDITON@GOTPAGEOFF]
Lloh14:
	adrp	x9, _ADE_NOERR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ADE_NOERR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NA_EVENT_STR_SIZE,4,2          ; @NA_EVENT_STR_SIZE
	.comm	_ADE_PARSE,4,2                  ; @ADE_PARSE
	.comm	_ADE_AUDITON,4,2                ; @ADE_AUDITON
	.comm	_ADE_NOERR,4,2                  ; @ADE_NOERR
.subsections_via_symbols
