	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_pipe_kqfilter
_audit_pipe_kqfilter:                   ## @audit_pipe_kqfilter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	leaq	-16(%rbp), %rdi
	callq	_devfs_get_cdevpriv
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_EVFILT_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_audit_pipe_read_filterops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	-16(%rbp), %rdi
	movq	%rdi, 8(%rbx)
	callq	_AUDIT_PIPE_LOCK
	movq	-16(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_knlist_add
	movq	-16(%rbp), %rdi
	callq	_AUDIT_PIPE_UNLOCK
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVFILT_READ,8,3                ## @EVFILT_READ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_audit_pipe_read_filterops,4,2  ## @audit_pipe_read_filterops
	.no_dead_strip	_audit_pipe_kqfilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_pipe_kqfilter
_audit_pipe_kqfilter:                   ; @audit_pipe_kqfilter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	add	x0, sp, #8
	bl	_devfs_get_cdevpriv
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _EVFILT_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVFILT_READ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _audit_pipe_read_filterops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _audit_pipe_read_filterops@GOTPAGEOFF]
	ldr	x0, [sp, #8]
	stp	x0, x8, [x19, #8]
	bl	_AUDIT_PIPE_LOCK
	ldr	x0, [sp, #8]
	mov	x1, x19
	mov	w2, #1
	bl	_knlist_add
	ldr	x0, [sp, #8]
	bl	_AUDIT_PIPE_UNLOCK
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EVFILT_READ,8,3                ; @EVFILT_READ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_audit_pipe_read_filterops,4,2  ; @audit_pipe_read_filterops
	.no_dead_strip	_audit_pipe_kqfilter
.subsections_via_symbols
