	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_one_alg
_verify_one_alg:                        ## @verify_one_alg
	.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
	movl	%esi, %eax
	movq	(%rdi,%rax,8), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	%esi, %r12d
	movq	%rbx, %rdi
	callq	_nla_data
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nla_len
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_xfrm_alg_len
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.3:
	addl	$-128, %r12d
	cmpl	$3, %r12d
	jae	LBB0_2
## %bb.4:
	movq	(%r15), %rax
	movq	_CRYPTO_MAX_ALG_NAME@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movb	$0, -1(%rcx,%rax)
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CRYPTO_MAX_ALG_NAME,4,2        ## @CRYPTO_MAX_ALG_NAME
	.no_dead_strip	_verify_one_alg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_one_alg
_verify_one_alg:                        ; @verify_one_alg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0, w1, uxtw #3]
	cbz	x21, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x0, x21
	bl	_nla_data
	mov	x20, x0
	mov	x0, x21
	bl	_nla_len
	mov	x21, x0
	mov	x0, x20
	bl	_xfrm_alg_len
	cmp	x21, x0
	b.lt	LBB0_4
; %bb.2:
	sub	w8, w19, #128
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _CRYPTO_MAX_ALG_NAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYPTO_MAX_ALG_NAME@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CRYPTO_MAX_ALG_NAME,4,2        ; @CRYPTO_MAX_ALG_NAME
	.no_dead_strip	_verify_one_alg
.subsections_via_symbols
