	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_handle_trigger          ## -- Begin function auditd_handle_trigger
	.p2align	4, 0x90
_auditd_handle_trigger:                 ## @auditd_handle_trigger
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-32(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_gettimeofday
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movl	-32(%rbp), %eax
	leal	-131(%rbx), %ecx
	cmpl	$1, %ecx
	ja	LBB0_7
## %bb.2:
	cmpl	%ebx, _auditd_handle_trigger.last_trigger(%rip)
	jne	LBB0_6
## %bb.3:
	movq	_DUPLICATE_INTERVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	_auditd_handle_trigger.last_time(%rip), %edx
	addl	%ecx, %edx
	cmpl	%eax, %edx
	jle	LBB0_6
## %bb.4:
	addl	_auditd_handle_trigger.last_warning(%rip), %ecx
	cmpl	%eax, %ecx
	jg	LBB0_17
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_auditd_log_info                ## TAILCALL
LBB0_6:
	movl	%eax, _auditd_handle_trigger.last_warning(%rip)
LBB0_7:
	movl	%ebx, _auditd_handle_trigger.last_trigger(%rip)
	movl	%eax, _auditd_handle_trigger.last_time(%rip)
LBB0_8:
	xorl	%eax, %eax
	callq	_auditd_get_state
	movl	%eax, %r14d
	leal	-128(%rbx), %eax
	cmpl	$7, %eax
	ja	LBB0_29
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	cmpl	$129, %ebx
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_info
	movq	_AUD_STATE_ENABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_12
	jmp	LBB0_17
LBB0_18:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_info
	movq	_AUD_STATE_ENABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_17
## %bb.19:
	xorl	%eax, %eax
	callq	_auditd_config_controls
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.20:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_14
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	callq	_auditd_log_notice
LBB0_12:
	xorl	%eax, %eax
	callq	_do_trail_file
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
LBB0_14:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_auditd_log_err                 ## TAILCALL
LBB0_21:
	leaq	L_.str.9(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_auditd_log_info
	movq	_AUD_STATE_ENABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_close_all
	movl	%eax, %ebx
LBB0_23:
	movq	_launchd_flag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.24:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_info
	movl	%ebx, %edi
	callq	_exit
LBB0_29:
	leaq	L_.str.14(%rip), %rdi
	movl	%ebx, %esi
	jmp	LBB0_30
LBB0_25:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_info
	movq	_AUD_STATE_DISABLED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_17
## %bb.26:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_audit_setup                    ## TAILCALL
LBB0_27:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_auditd_log_info
	movq	_audit_warn_expired@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_auditd_expire_trails
	testl	%eax, %eax
	je	LBB0_17
## %bb.28:
	movl	%eax, %edi
	callq	_auditd_strerror
	leaq	L_.str.13(%rip), %rdi
	movl	%eax, %esi
LBB0_30:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_auditd_log_err                 ## TAILCALL
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_25
	.long	L0_0_set_27
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_auditd_handle_trigger.last_trigger,4,2 ## @auditd_handle_trigger.last_trigger
.zerofill __DATA,__bss,_auditd_handle_trigger.last_warning,4,2 ## @auditd_handle_trigger.last_warning
.zerofill __DATA,__bss,_auditd_handle_trigger.last_time,4,2 ## @auditd_handle_trigger.last_time
	.comm	_DUPLICATE_INTERVAL,4,2         ## @DUPLICATE_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Suppressing duplicate trigger %d"

L_.str.1:                               ## @.str.1
	.asciz	"Got low space trigger"

L_.str.2:                               ## @.str.2
	.asciz	"Error swapping audit file"

L_.str.3:                               ## @.str.3
	.asciz	"Got no space trigger"

L_.str.4:                               ## @.str.4
	.asciz	"Got open new trigger from %s"

L_.str.5:                               ## @.str.5
	.asciz	"kernel"

L_.str.6:                               ## @.str.6
	.asciz	"user"

	.comm	_AUD_STATE_ENABLED,4,2          ## @AUD_STATE_ENABLED
L_.str.7:                               ## @.str.7
	.asciz	"Got read file trigger"

L_.str.8:                               ## @.str.8
	.asciz	"Error setting audit controls"

L_.str.9:                               ## @.str.9
	.asciz	"Got close and die trigger"

	.comm	_launchd_flag,4,2               ## @launchd_flag
L_.str.10:                              ## @.str.10
	.asciz	"auditd exiting."

L_.str.11:                              ## @.str.11
	.asciz	"Got audit initialize trigger"

	.comm	_AUD_STATE_DISABLED,4,2         ## @AUD_STATE_DISABLED
L_.str.12:                              ## @.str.12
	.asciz	"Got audit expire trails trigger"

	.comm	_audit_warn_expired,4,2         ## @audit_warn_expired
L_.str.13:                              ## @.str.13
	.asciz	"auditd_expire_trails(): %s"

L_.str.14:                              ## @.str.14
	.asciz	"Got unknown trigger %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auditd_handle_trigger          ; -- Begin function auditd_handle_trigger
	.p2align	2
_auditd_handle_trigger:                 ; @auditd_handle_trigger
	.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
	mov	x19, x0
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_gettimeofday
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	w8, [sp, #24]
	sub	w11, w19, #131
	adrp	x9, _auditd_handle_trigger.last_trigger@PAGE
	adrp	x10, _auditd_handle_trigger.last_time@PAGE
	cmp	w11, #1
	b.hi	LBB0_7
; %bb.2:
	ldr	w11, [x9, _auditd_handle_trigger.last_trigger@PAGEOFF]
	cmp	w11, w19
	b.ne	LBB0_6
; %bb.3:
	ldr	w12, [x10, _auditd_handle_trigger.last_time@PAGEOFF]
Lloh0:
	adrp	x11, _DUPLICATE_INTERVAL@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DUPLICATE_INTERVAL@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	add	w12, w11, w12
	cmp	w12, w8
	b.le	LBB0_6
; %bb.4:
Lloh3:
	adrp	x9, _auditd_handle_trigger.last_warning@PAGE
Lloh4:
	ldr	w9, [x9, _auditd_handle_trigger.last_warning@PAGEOFF]
	add	w9, w9, w11
	cmp	w9, w8
	b.gt	LBB0_30
; %bb.5:
	str	x19, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_auditd_log_info
	b	LBB0_30
LBB0_6:
	adrp	x11, _auditd_handle_trigger.last_warning@PAGE
	str	w8, [x11, _auditd_handle_trigger.last_warning@PAGEOFF]
LBB0_7:
	str	w19, [x9, _auditd_handle_trigger.last_trigger@PAGEOFF]
	str	w8, [x10, _auditd_handle_trigger.last_time@PAGEOFF]
LBB0_8:
	bl	_auditd_get_state
	sub	w8, w19, #128
	cmp	w8, #7
	b.hi	LBB0_22
; %bb.9:
	mov	x20, x0
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
Lloh9:
	adrp	x8, l_.str.6@PAGE
Lloh10:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh11:
	adrp	x9, l_.str.5@PAGE
Lloh12:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w19, #129
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_auditd_log_info
Lloh15:
	adrp	x8, _AUD_STATE_ENABLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUD_STATE_ENABLED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_17
	b	LBB0_30
LBB0_11:
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_auditd_log_info
Lloh20:
	adrp	x8, _AUD_STATE_ENABLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AUD_STATE_ENABLED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_30
; %bb.12:
	bl	_auditd_config_controls
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.13:
Lloh23:
	adrp	x0, l_.str.8@PAGE
Lloh24:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_14:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_16:
	bl	_auditd_log_notice
LBB0_17:
	bl	_do_trail_file
	cmn	w0, #1
	b.ne	LBB0_30
; %bb.18:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_auditd_log_err
LBB0_20:
Lloh31:
	adrp	x0, l_.str.9@PAGE
Lloh32:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_auditd_log_info
Lloh33:
	adrp	x8, _AUD_STATE_ENABLED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AUD_STATE_ENABLED@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_28
; %bb.21:
	bl	_close_all
	mov	x19, x0
	b	LBB0_29
LBB0_22:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_27
LBB0_23:
Lloh38:
	adrp	x0, l_.str.11@PAGE
Lloh39:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_auditd_log_info
Lloh40:
	adrp	x8, _AUD_STATE_DISABLED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AUD_STATE_DISABLED@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_30
; %bb.24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_audit_setup
LBB0_25:
Lloh43:
	adrp	x0, l_.str.12@PAGE
Lloh44:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_auditd_log_info
Lloh45:
	adrp	x8, _audit_warn_expired@GOTPAGE
Lloh46:
	ldr	x8, [x8, _audit_warn_expired@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_auditd_expire_trails
	cbz	w0, LBB0_30
; %bb.26:
	bl	_auditd_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh48:
	adrp	x0, l_.str.13@PAGE
Lloh49:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_27:
	bl	_auditd_log_err
	b	LBB0_30
LBB0_28:
	mov	w19, #0
LBB0_29:
Lloh50:
	adrp	x8, _launchd_flag@GOTPAGE
Lloh51:
	ldr	x8, [x8, _launchd_flag@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cbz	w8, LBB0_31
LBB0_30:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_31:
Lloh53:
	adrp	x0, l_.str.10@PAGE
Lloh54:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_auditd_log_info
	mov	x0, x19
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_23-LBB0_10)>>2
	.byte	(LBB0_25-LBB0_10)>>2
	.byte	(LBB0_20-LBB0_10)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_auditd_handle_trigger.last_trigger,4,2 ; @auditd_handle_trigger.last_trigger
.zerofill __DATA,__bss,_auditd_handle_trigger.last_warning,4,2 ; @auditd_handle_trigger.last_warning
.zerofill __DATA,__bss,_auditd_handle_trigger.last_time,4,2 ; @auditd_handle_trigger.last_time
	.comm	_DUPLICATE_INTERVAL,4,2         ; @DUPLICATE_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Suppressing duplicate trigger %d"

l_.str.1:                               ; @.str.1
	.asciz	"Got low space trigger"

l_.str.2:                               ; @.str.2
	.asciz	"Error swapping audit file"

l_.str.3:                               ; @.str.3
	.asciz	"Got no space trigger"

l_.str.4:                               ; @.str.4
	.asciz	"Got open new trigger from %s"

l_.str.5:                               ; @.str.5
	.asciz	"kernel"

l_.str.6:                               ; @.str.6
	.asciz	"user"

	.comm	_AUD_STATE_ENABLED,4,2          ; @AUD_STATE_ENABLED
l_.str.7:                               ; @.str.7
	.asciz	"Got read file trigger"

l_.str.8:                               ; @.str.8
	.asciz	"Error setting audit controls"

l_.str.9:                               ; @.str.9
	.asciz	"Got close and die trigger"

	.comm	_launchd_flag,4,2               ; @launchd_flag
l_.str.10:                              ; @.str.10
	.asciz	"auditd exiting."

l_.str.11:                              ; @.str.11
	.asciz	"Got audit initialize trigger"

	.comm	_AUD_STATE_DISABLED,4,2         ; @AUD_STATE_DISABLED
l_.str.12:                              ; @.str.12
	.asciz	"Got audit expire trails trigger"

	.comm	_audit_warn_expired,4,2         ; @audit_warn_expired
l_.str.13:                              ; @.str.13
	.asciz	"auditd_expire_trails(): %s"

l_.str.14:                              ; @.str.14
	.asciz	"Got unknown trigger %d"

.subsections_via_symbols
