	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_veriexec_dev
_free_veriexec_dev:                     ## @free_veriexec_dev
	.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
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	_entries@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	cmpq	%rbx, (%r14)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_LIST_NEXT
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_5:
	movq	%r14, %rdi
	callq	_LIST_REMOVE
	movq	_ve_mutex@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	leaq	16(%r14), %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	movq	_M_VERIEXEC@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_LIST_NEXT
	movq	%rax, %r15
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %esi
	callq	_free
	jmp	LBB0_9
LBB0_10:
	movq	_M_VERIEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_free
	movq	_ve_mutex@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ve_mutex,4,2                   ## @ve_mutex
	.comm	_M_VERIEXEC,4,2                 ## @M_VERIEXEC
	.no_dead_strip	_free_veriexec_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_veriexec_dev
_free_veriexec_dev:                     ; @free_veriexec_dev
	.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	x20, x0
	mov	x0, x1
	bl	_LIST_FIRST
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _entries@GOTPAGE
Lloh1:
	ldr	x22, [x22, _entries@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w1, [x22]
	cmp	x8, x20
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_LIST_NEXT
	mov	x19, x0
	cbnz	x0, LBB0_2
LBB0_4:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	bl	_LIST_REMOVE
Lloh5:
	adrp	x0, _ve_mutex@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ve_mutex@GOTPAGEOFF]
	bl	_mtx_unlock
	add	x0, x19, #16
	bl	_LIST_FIRST
Lloh7:
	adrp	x23, _M_VERIEXEC@GOTPAGE
Lloh8:
	ldr	x23, [x23, _M_VERIEXEC@GOTPAGEOFF]
	cbz	x0, LBB0_10
; %bb.6:
	mov	x20, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_free
	mov	x20, x21
	cbz	x21, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_LIST_NEXT
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	bl	_LIST_REMOVE
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x23]
	bl	_free
	b	LBB0_7
LBB0_10:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_free
Lloh9:
	adrp	x0, _ve_mutex@GOTPAGE
Lloh10:
	ldr	x0, [x0, _ve_mutex@GOTPAGEOFF]
	bl	_mtx_lock
	mov	w0, #0
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ve_mutex,4,2                   ; @ve_mutex
	.comm	_M_VERIEXEC,4,2                 ; @M_VERIEXEC
	.no_dead_strip	_free_veriexec_dev
.subsections_via_symbols
