	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_lookup_skcipher
_crypto_lookup_skcipher:                ## @crypto_lookup_skcipher
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_crypto_alg_mod_lookup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	movq	_CRYPTO_ALG_TYPE_GIVCIPHER@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	je	LBB0_4
## %bb.2:
	movq	_CRYPTO_ALG_TYPE_BLKCIPHER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 8(%rbx)
	jne	LBB0_6
	jmp	LBB0_4
LBB0_5:
	cmpl	$0, 4(%rbx)
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_crypto_mod_put
	movq	_CRYPTO_ALG_TESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	orl	%r14d, %esi
	notl	%edx
	andl	%r15d, %edx
	movq	%r12, %rdi
	callq	_crypto_alg_mod_lookup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_CRYPTO_ALG_TESTED@GOTPCREL(%rip), %rdx
	movl	(%rbx), %eax
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	(%r13), %ecx
	jne	LBB0_10
## %bb.8:
	xorl	%r15d, %r14d
	xorl	%eax, %r14d
	notl	%r14d
	testl	%r14d, (%rdx)
	je	LBB0_4
## %bb.9:
	movq	%rbx, %rdi
	callq	_crypto_mod_put
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
	movq	_CRYPTO_ALG_TYPE_BLKCIPHER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	sete	%al
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx,%rax,4)
	sete	%dil
	callq	_BUG_ON
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_crypto_givcipher_default
	movl	%eax, %edi
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ## @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_TYPE_GIVCIPHER,4,2  ## @CRYPTO_ALG_TYPE_GIVCIPHER
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ## @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TESTED,4,2          ## @CRYPTO_ALG_TESTED
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_crypto_lookup_skcipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_lookup_skcipher
_crypto_lookup_skcipher:                ; @crypto_lookup_skcipher
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_crypto_alg_mod_lookup
	mov	x19, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x23, _CRYPTO_ALG_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w8, w9, w8
Lloh2:
	adrp	x24, _CRYPTO_ALG_TYPE_GIVCIPHER@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CRYPTO_ALG_TYPE_GIVCIPHER@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
Lloh4:
	adrp	x25, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
	b	LBB0_6
LBB0_4:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_crypto_mod_put
Lloh6:
	adrp	x26, _CRYPTO_ALG_TESTED@GOTPAGE
Lloh7:
	ldr	x26, [x26, _CRYPTO_ALG_TESTED@GOTPAGEOFF]
	ldr	w8, [x26]
	orr	w1, w8, w21
	bic	w2, w20, w8
	mov	x0, x22
	bl	_crypto_alg_mod_lookup
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
LBB0_6:
	mov	x0, x19
	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
LBB0_7:
	ldr	w8, [x19]
	ldr	w9, [x23]
	and	w9, w9, w8
	ldr	w10, [x24]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.8:
	eor	w9, w21, w20
	eor	w8, w9, w8
	ldr	w9, [x26]
	bics	wzr, w9, w8
	b.eq	LBB0_6
; %bb.9:
	mov	x0, x19
	bl	_crypto_mod_put
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	ldr	w8, [x25]
	cmp	w9, w8
	mov	w8, #4
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	w8, [x19, x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_givcipher_default
LBB0_11:
	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
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ; @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_TYPE_GIVCIPHER,4,2  ; @CRYPTO_ALG_TYPE_GIVCIPHER
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ; @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TESTED,4,2          ; @CRYPTO_ALG_TESTED
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_crypto_lookup_skcipher
.subsections_via_symbols
