	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_evcmap              ## -- Begin function auditd_set_evcmap
	.p2align	4, 0x90
_auditd_set_evcmap:                     ## @auditd_set_evcmap
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_AU_EVENT_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	movq	_AU_EVENT_DESC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	movq	%rax, -24(%rbp)
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_setauevent
	leaq	-32(%rbp), %rdi
	callq	_getauevent_r
	xorl	%eax, %eax
	callq	_endauevent
	movq	-32(%rbp), %rdi
	callq	_free
	movq	-24(%rbp), %rdi
	callq	_free
	jmp	LBB0_6
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_free
LBB0_4:
	movq	_ADE_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AU_EVENT_NAME_MAX,4,2          ## @AU_EVENT_NAME_MAX
	.comm	_AU_EVENT_DESC_MAX,4,2          ## @AU_EVENT_DESC_MAX
	.comm	_ADE_NOMEM,4,2                  ## @ADE_NOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_set_evcmap              ; -- Begin function auditd_set_evcmap
	.p2align	2
_auditd_set_evcmap:                     ; @auditd_set_evcmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _AU_EVENT_NAME_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AU_EVENT_NAME_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_malloc
	mov	x19, x0
	str	x0, [sp, #8]
Lloh3:
	adrp	x8, _AU_EVENT_DESC_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AU_EVENT_DESC_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_malloc
	str	x0, [sp, #16]
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_free
LBB0_3:
Lloh6:
	adrp	x8, _ADE_NOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADE_NOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	bl	_setauevent
	add	x0, sp, #8
	bl	_getauevent_r
	bl	_endauevent
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x0, [sp, #16]
	bl	_free
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AU_EVENT_NAME_MAX,4,2          ; @AU_EVENT_NAME_MAX
	.comm	_AU_EVENT_DESC_MAX,4,2          ; @AU_EVENT_DESC_MAX
	.comm	_ADE_NOMEM,4,2                  ; @ADE_NOMEM
.subsections_via_symbols
