	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_find_driver             ## -- Begin function crypto_find_driver
	.p2align	4, 0x90
_crypto_find_driver:                    ## @crypto_find_driver
	.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, %r15
	callq	_strlen
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_LOCK
	movq	_crypto_drivers_num@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	$8, %r13d
	xorl	%ebx, %ebx
	movq	_crypto_drivers@GOTPCREL(%rip), %rsi
	movq	_CRYPTOCAP_F_CLEANUP@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r13
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rcx
	movq	(%rcx,%r13), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %edx
	testl	%edx, -8(%rcx,%r13)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_device_get_nameunit
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_device_get_name
	movq	%r15, %r12
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_crypto_drivers_num@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %r15
	movq	_crypto_drivers@GOTPCREL(%rip), %rsi
	movq	_CRYPTOCAP_F_CLEANUP@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_UNLOCK
	movq	_crypto_drivers_num@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movl	$-1, %eax
	cmovll	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_crypto_drivers_num,4,2         ## @crypto_drivers_num
	.comm	_crypto_drivers,8,3             ## @crypto_drivers
	.comm	_CRYPTOCAP_F_CLEANUP,4,2        ## @CRYPTOCAP_F_CLEANUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_find_driver             ; -- Begin function crypto_find_driver
	.p2align	2
_crypto_find_driver:                    ; @crypto_find_driver
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_strlen
	mov	x20, x0
	bl	_CRYPTO_DRIVER_LOCK
Lloh0:
	adrp	x22, _crypto_drivers_num@GOTPAGE
Lloh1:
	ldr	x22, [x22, _crypto_drivers_num@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x24, #0
	mov	x23, #0
Lloh2:
	adrp	x25, _crypto_drivers@GOTPAGE
Lloh3:
	ldr	x25, [x25, _crypto_drivers@GOTPAGEOFF]
Lloh4:
	adrp	x26, _CRYPTOCAP_F_CLEANUP@GOTPAGE
Lloh5:
	ldr	x26, [x26, _CRYPTOCAP_F_CLEANUP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	x24, x24, #16
	cmp	x23, w8, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	add	x10, x9, x24
	ldr	x21, [x10, #8]
	cbz	x21, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x9, x24]
	ldr	w10, [x26]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_device_get_nameunit
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_device_get_name
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbnz	x0, LBB0_2
	b	LBB0_9
LBB0_8:
	mov	w23, #0
LBB0_9:
	bl	_CRYPTO_DRIVER_UNLOCK
	ldr	w8, [x22]
	cmp	w23, w8
	csinv	w0, w23, wzr, lt
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_crypto_drivers_num,4,2         ; @crypto_drivers_num
	.comm	_crypto_drivers,8,3             ; @crypto_drivers
	.comm	_CRYPTOCAP_F_CLEANUP,4,2        ; @CRYPTOCAP_F_CLEANUP
.subsections_via_symbols
