	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_pipe_free
_audit_pipe_free:                       ## @audit_pipe_free
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_AUDIT_PIPE_LIST_WLOCK_ASSERT
	movq	%rbx, %rdi
	callq	_AUDIT_PIPE_LOCK_ASSERT
	movq	%rbx, %rdi
	callq	_audit_pipe_preselect_flush_locked
	movq	%rbx, %rdi
	callq	_audit_pipe_flush
	leaq	4(%rbx), %rdi
	callq	_cv_destroy
	movq	%rbx, %rdi
	callq	_AUDIT_PIPE_SX_LOCK_DESTROY
	movq	%rbx, %rdi
	callq	_AUDIT_PIPE_LOCK_DESTROY
	movq	%rbx, %rdi
	callq	_seldrain
	movq	%rbx, %rdi
	callq	_knlist_destroy
	movq	_ap_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_audit_pipe_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	_M_AUDIT_PIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	_audit_pipe_count@GOTPCREL(%rip), %rax
	decl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audit_pipe_list,4,2            ## @audit_pipe_list
	.comm	_ap_list,4,2                    ## @ap_list
	.comm	_M_AUDIT_PIPE,4,2               ## @M_AUDIT_PIPE
	.comm	_audit_pipe_count,4,2           ## @audit_pipe_count
	.no_dead_strip	_audit_pipe_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_pipe_free
_audit_pipe_free:                       ; @audit_pipe_free
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_AUDIT_PIPE_LIST_WLOCK_ASSERT
	mov	x0, x19
	bl	_AUDIT_PIPE_LOCK_ASSERT
	mov	x0, x19
	bl	_audit_pipe_preselect_flush_locked
	mov	x0, x19
	bl	_audit_pipe_flush
	add	x0, x19, #4
	bl	_cv_destroy
	mov	x0, x19
	bl	_AUDIT_PIPE_SX_LOCK_DESTROY
	mov	x0, x19
	bl	_AUDIT_PIPE_LOCK_DESTROY
	mov	x0, x19
	bl	_seldrain
	mov	x0, x19
	bl	_knlist_destroy
Lloh0:
	adrp	x8, _ap_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ap_list@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, _audit_pipe_list@GOTPAGE
Lloh4:
	ldr	x0, [x0, _audit_pipe_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_REMOVE
Lloh5:
	adrp	x8, _M_AUDIT_PIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_AUDIT_PIPE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_free
Lloh8:
	adrp	x8, _audit_pipe_count@GOTPAGE
Lloh9:
	ldr	x8, [x8, _audit_pipe_count@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_audit_pipe_list,4,2            ; @audit_pipe_list
	.comm	_ap_list,4,2                    ; @ap_list
	.comm	_M_AUDIT_PIPE,4,2               ; @M_AUDIT_PIPE
	.comm	_audit_pipe_count,4,2           ; @audit_pipe_count
	.no_dead_strip	_audit_pipe_free
.subsections_via_symbols
