	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_pipe_preselect_check
_audit_pipe_preselect_check:            ## @audit_pipe_preselect_check
	.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	%r9d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_AUDIT_PIPE_LOCK_ASSERT
	movl	(%rbx), %esi
	cmpl	$128, %esi
	je	LBB0_10
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_audit_pipe_preselect_find
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movl	%r15d, %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_6
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_panic
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_AU_DEFAUDITID@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%r15d, %edi
	jne	LBB0_7
## %bb.4:
	addq	$8, %rbx
	jmp	LBB0_5
LBB0_7:
	addq	$4, %rbx
LBB0_5:
	movq	%rbx, %rdx
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_au_preselect                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AU_DEFAUDITID,4,2              ## @AU_DEFAUDITID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audit_pipe_preselect_check: mode %d"

	.no_dead_strip	_audit_pipe_preselect_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_pipe_preselect_check
_audit_pipe_preselect_check:            ; @audit_pipe_preselect_check
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_AUDIT_PIPE_LOCK_ASSERT
	ldr	w1, [x22]
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, x23
	bl	_audit_pipe_preselect_find
	cbz	x0, LBB0_6
; %bb.3:
	mov	x2, x0
	b	LBB0_9
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
	mov	w24, #0
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh2:
	adrp	x8, _AU_DEFAUDITID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AU_DEFAUDITID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_8
; %bb.7:
	add	x2, x22, #8
	b	LBB0_9
LBB0_8:
	add	x2, x22, #4
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_au_preselect
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AU_DEFAUDITID,4,2              ; @AU_DEFAUDITID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_pipe_preselect_check: mode %d"

	.no_dead_strip	_audit_pipe_preselect_check
.subsections_via_symbols
