	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_read
_audit_read:                            ## @audit_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_audit_trigger_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	movq	_trigger_list@GOTPCREL(%rip), %r13
	movq	_PSOCK@GOTPCREL(%rip), %r14
	movq	_PCATCH@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_TAILQ_EMPTY
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edx
	orl	(%r14), %edx
	movq	%r13, %rdi
	movq	_audit_trigger_mtx@GOTPCREL(%rip), %rsi
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_msleep
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movq	_audit_trigger_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_5:
	movq	_trigger_list@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %rbx
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	_audit_trigger_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_uiomove
	movl	%eax, %r14d
	movq	_M_AUDITTRIGGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audit_trigger_mtx,4,2          ## @audit_trigger_mtx
	.comm	_trigger_list,4,2               ## @trigger_list
	.comm	_PSOCK,4,2                      ## @PSOCK
	.comm	_PCATCH,4,2                     ## @PCATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auditd"

	.comm	_list,4,2                       ## @list
	.comm	_M_AUDITTRIGGER,4,2             ## @M_AUDITTRIGGER
	.no_dead_strip	_audit_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_read
_audit_read:                            ; @audit_read
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
Lloh0:
	adrp	x20, _audit_trigger_mtx@GOTPAGE
Lloh1:
	ldr	x20, [x20, _audit_trigger_mtx@GOTPAGEOFF]
	mov	x0, x20
	bl	_mtx_lock
Lloh2:
	adrp	x21, _trigger_list@GOTPAGE
Lloh3:
	ldr	x21, [x21, _trigger_list@GOTPAGEOFF]
Lloh4:
	adrp	x24, _PSOCK@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PSOCK@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x25, _PCATCH@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PCATCH@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TAILQ_EMPTY
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	mov	w4, #0
	bl	_msleep
	cbz	w0, LBB0_1
; %bb.3:
	mov	x23, x0
Lloh10:
	adrp	x0, _audit_trigger_mtx@GOTPAGE
Lloh11:
	ldr	x0, [x0, _audit_trigger_mtx@GOTPAGEOFF]
	bl	_mtx_unlock
	mov	x0, x23
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x20, _trigger_list@GOTPAGE
Lloh13:
	ldr	x20, [x20, _trigger_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_TAILQ_FIRST
	mov	x21, x0
Lloh14:
	adrp	x8, _list@GOTPAGE
Lloh15:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_TAILQ_REMOVE
Lloh17:
	adrp	x0, _audit_trigger_mtx@GOTPAGE
Lloh18:
	ldr	x0, [x0, _audit_trigger_mtx@GOTPAGEOFF]
	bl	_mtx_unlock
	mov	x0, x21
	mov	w1, #4
	mov	x2, x19
	bl	_uiomove
	mov	x19, x0
Lloh19:
	adrp	x8, _M_AUDITTRIGGER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _M_AUDITTRIGGER@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_free
	mov	x0, x19
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_audit_trigger_mtx,4,2          ; @audit_trigger_mtx
	.comm	_trigger_list,4,2               ; @trigger_list
	.comm	_PSOCK,4,2                      ; @PSOCK
	.comm	_PCATCH,4,2                     ; @PCATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auditd"

	.comm	_list,4,2                       ; @list
	.comm	_M_AUDITTRIGGER,4,2             ; @M_AUDITTRIGGER
	.no_dead_strip	_audit_read
.subsections_via_symbols
