	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_semsys_to_event          ## -- Begin function audit_semsys_to_event
	.p2align	4, 0x90
_audit_semsys_to_event:                 ## @audit_semsys_to_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_aue_semsys_count@GOTPCREL(%rip), %rax
	movq	_aue_semsys@GOTPCREL(%rip), %rcx
	movslq	%edi, %rdx
	leaq	(,%rdx,4), %rsi
	addq	(%rcx), %rsi
	cmpl	%edx, (%rax)
	movq	_AUE_SEMSYS@GOTPCREL(%rip), %rax
	cmovleq	%rax, %rsi
	testl	%edx, %edx
	cmovsq	%rax, %rsi
	movl	(%rsi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aue_semsys_count,4,2           ## @aue_semsys_count
	.comm	_aue_semsys,8,3                 ## @aue_semsys
	.comm	_AUE_SEMSYS,4,2                 ## @AUE_SEMSYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_semsys_to_event          ; -- Begin function audit_semsys_to_event
	.p2align	2
_audit_semsys_to_event:                 ; @audit_semsys_to_event
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _aue_semsys_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aue_semsys_count@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	mov	w8, #-1
	ccmp	w0, w8, #4, gt
Lloh3:
	adrp	x8, _aue_semsys@GOTPAGE
Lloh4:
	ldr	x8, [x8, _aue_semsys@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #2
Lloh6:
	adrp	x9, _AUE_SEMSYS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AUE_SEMSYS@GOTPAGEOFF]
	csel	x8, x8, x9, gt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_aue_semsys_count,4,2           ; @aue_semsys_count
	.comm	_aue_semsys,8,3                 ; @aue_semsys
	.comm	_AUE_SEMSYS,4,2                 ; @AUE_SEMSYS
.subsections_via_symbols
