	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_available
_test_available:                        ## @test_available
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	addq	$8, %rbx
	leaq	L_.str(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-8(%rbx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_has_alg
	testq	%rax, %rax
	movq	%r12, %rdi
	cmoveq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_check,8,3                      ## @check
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alg %s "

L_.str.1:                               ## @.str.1
	.asciz	"found\n"

L_.str.2:                               ## @.str.2
	.asciz	"not found\n"

	.no_dead_strip	_test_available
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_available
_test_available:                        ; @test_available
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _check@GOTPAGE
Lloh1:
	ldr	x8, [x8, _check@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x9]
	cbz	x8, LBB0_3
; %bb.1:
	add	x20, x9, #8
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [sp]
	mov	x0, x19
	bl	_printk
	ldur	x0, [x20, #-8]
	mov	w1, #0
	mov	w2, #0
	bl	_crypto_has_alg
	cmp	x0, #0
	csel	x0, x22, x21, eq
	bl	_printk
	ldr	x8, [x20], #8
	cbnz	x8, LBB0_2
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_check,8,3                      ; @check
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alg %s "

l_.str.1:                               ; @.str.1
	.asciz	"found\n"

l_.str.2:                               ; @.str.2
	.asciz	"not found\n"

	.no_dead_strip	_test_available
.subsections_via_symbols
