	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_veriexec_dev
_find_veriexec_dev:                     ## @find_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	%rsi, %r14
	movq	%rdi, %r13
	xorl	%r15d, %r15d
	movq	_entries@GOTPCREL(%rip), %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r14, %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r13, (%rbx)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_LIST_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r15, %r15
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_M_VERIEXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ve_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mtx_unlock
	movl	(%rbx), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_mtx_lock
	jmp	LBB0_1
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	_ve_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mtx_unlock
	movq	_M_VERIEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_mtx_lock
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, %r15
LBB0_8:
	leaq	8(%r15), %rdi
	callq	_LIST_INIT
	movq	%r13, (%r15)
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_LIST_INSERT_HEAD
	movq	%r15, %rbx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
	.comm	_M_VERIEXEC,4,2                 ## @M_VERIEXEC
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ve_mutex,4,2                   ## @ve_mutex
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.no_dead_strip	_find_veriexec_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_veriexec_dev
_find_veriexec_dev:                     ; @find_veriexec_dev
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
Lloh0:
	adrp	x24, _M_VERIEXEC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_VERIEXEC@GOTPAGEOFF]
Lloh2:
	adrp	x26, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _M_NOWAIT@GOTPAGEOFF]
Lloh4:
	adrp	x22, _ve_mutex@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ve_mutex@GOTPAGEOFF]
Lloh6:
	adrp	x27, _M_WAITOK@GOTPAGE
Lloh7:
	ldr	x27, [x27, _M_WAITOK@GOTPAGEOFF]
Lloh8:
	adrp	x25, _entries@GOTPAGE
Lloh9:
	ldr	x25, [x25, _entries@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x0, x19
	bl	_LIST_FIRST
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	cmp	x8, x20
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w1, [x25]
	mov	x0, x23
	bl	_LIST_NEXT
	mov	x23, x0
	cbnz	x0, LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbnz	x21, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x24]
	ldr	w2, [x26]
	mov	w0, #16
	bl	_malloc
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_mtx_unlock
	ldr	w1, [x24]
	ldr	w2, [x27]
	mov	w0, #16
	bl	_malloc
	mov	x21, x0
	mov	x0, x22
	bl	_mtx_lock
	b	LBB0_1
LBB0_8:
	cbz	x21, LBB0_10
; %bb.9:
Lloh10:
	adrp	x19, _ve_mutex@GOTPAGE
Lloh11:
	ldr	x19, [x19, _ve_mutex@GOTPAGEOFF]
	mov	x0, x19
	bl	_mtx_unlock
	ldr	w1, [x24]
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_mtx_lock
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x21, x0
LBB0_12:
	add	x0, x21, #8
	bl	_LIST_INIT
	str	x20, [x21]
	ldr	w2, [x25]
	mov	x0, x19
	mov	x1, x21
	bl	_LIST_INSERT_HEAD
	mov	x23, x21
	b	LBB0_10
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
	.comm	_M_VERIEXEC,4,2                 ; @M_VERIEXEC
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ve_mutex,4,2                   ; @ve_mutex
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.no_dead_strip	_find_veriexec_dev
.subsections_via_symbols
