	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_check_alg
_crypto_check_alg:                      ## @crypto_check_alg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	1(%rax), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.1:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	%ecx, 4(%rdi)
	jg	LBB0_3
## %bb.2:
	cmpq	$0, 8(%rdi)
	js	LBB0_3
## %bb.4:
	popq	%rbp
	jmp	_crypto_set_driver_name         ## TAILCALL
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_crypto_check_alg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_check_alg
_crypto_check_alg:                      ; @crypto_check_alg
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w9, w8, #1
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x0, #4]
Lloh2:
	ldr	w8, [x8]
	add	w10, w8, #7
	cmp	w8, #0
	csel	w8, w10, w8, lt
	cmp	w9, w8, asr #3
	b.gt	LBB0_4
; %bb.2:
	ldr	x8, [x0, #8]
	tbnz	x8, #63, LBB0_4
; %bb.3:
	b	_crypto_set_driver_name
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_crypto_check_alg
.subsections_via_symbols
