	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au_preselect                   ## -- Begin function au_preselect
	.p2align	4, 0x90
_au_preselect:                          ## @au_preselect
	.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
	movl	$-1, %r13d
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_firsttime@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_load_event_table
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_3:
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.4:
	cmpl	$129, %ebx
	jne	LBB0_13
## %bb.5:
	xorl	%eax, %eax
	callq	_flush_cache
	xorl	%eax, %eax
	callq	_load_event_table
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_6:
	movl	%r12d, %edi
	callq	_read_from_cache
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	_AU_PRS_SUCCESS@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_8
## %bb.9:
	movl	(%rax), %ecx
	andl	(%r15), %ecx
	jmp	LBB0_10
LBB0_8:
	xorl	%ecx, %ecx
LBB0_10:
	movq	_AU_PRS_FAILURE@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_12
## %bb.11:
	movl	(%rax), %eax
	andl	4(%r15), %eax
	orl	%eax, %ecx
LBB0_12:
	xorl	%r13d, %r13d
	testl	%ecx, %ecx
	setne	%r13b
LBB0_13:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_firsttime,8,3                  ## @firsttime
	.comm	_AU_PRS_SUCCESS,4,2             ## @AU_PRS_SUCCESS
	.comm	_AU_PRS_FAILURE,4,2             ## @AU_PRS_FAILURE
	.comm	_mutex,4,2                      ## @mutex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au_preselect                   ; -- Begin function au_preselect
	.p2align	2
_au_preselect:                          ; @au_preselect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _firsttime@GOTPAGE
Lloh1:
	ldr	x8, [x8, _firsttime@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.2:
	str	xzr, [x8]
	bl	_load_event_table
	cmn	w0, #1
	b.eq	LBB0_14
LBB0_3:
	cmp	w22, #128
	b.eq	LBB0_6
; %bb.4:
	cmp	w22, #129
	b.ne	LBB0_9
; %bb.5:
	bl	_flush_cache
	bl	_load_event_table
	cmn	w0, #1
	b.eq	LBB0_14
LBB0_6:
	mov	x0, x21
	bl	_read_from_cache
	cbz	x0, LBB0_9
; %bb.7:
Lloh2:
	adrp	x8, _AU_PRS_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AU_PRS_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.8:
	ldr	w8, [x19]
	ldr	w9, [x0]
	and	w8, w9, w8
	b	LBB0_11
LBB0_9:
	mov	w0, #-1
	b	LBB0_14
LBB0_10:
	mov	w8, #0
LBB0_11:
Lloh5:
	adrp	x9, _AU_PRS_FAILURE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AU_PRS_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_13
; %bb.12:
	ldr	w9, [x19, #4]
	ldr	w10, [x0]
	and	w9, w10, w9
	orr	w8, w9, w8
LBB0_13:
	cmp	w8, #0
	cset	w0, ne
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_firsttime,8,3                  ; @firsttime
	.comm	_AU_PRS_SUCCESS,4,2             ; @AU_PRS_SUCCESS
	.comm	_AU_PRS_FAILURE,4,2             ; @AU_PRS_FAILURE
	.comm	_mutex,4,2                      ; @mutex
.subsections_via_symbols
