	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hifn_alg_alloc
_hifn_alg_alloc:                        ## @hifn_alg_alloc
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r13
	addq	$8, %r13
	movl	56(%rax), %edi
	movq	_CRYPTO_MAX_ALG_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_snprintf
	movl	52(%rbx), %edi
	movq	_CRYPTO_MAX_ALG_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r12), %rcx
	movq	(%r14), %r8
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$300, 8(%rbx)                   ## imm = 0x12C
	movq	_CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPCREL(%rip), %rax
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	20(%r12), %eax
	movl	%eax, 48(%rbx)
	movl	$4, 16(%rbx)
	movq	$0, 40(%rbx)
	movq	_crypto_ablkcipher_type@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 24(%rbx)
	movq	_hifn_cra_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%r14, 64(%rbx)
	addq	$8, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	%r13, %rdi
	callq	_crypto_register_alg
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r14d, %r15d
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CRYPTO_MAX_ALG_NAME,4,2        ## @CRYPTO_MAX_ALG_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s-%s"

	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ## @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
	.comm	_crypto_ablkcipher_type,4,2     ## @crypto_ablkcipher_type
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_hifn_cra_init,4,2              ## @hifn_cra_init
	.no_dead_strip	_hifn_alg_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hifn_alg_alloc
_hifn_alg_alloc:                        ; @hifn_alg_alloc
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #56]
Lloh3:
	adrp	x22, _CRYPTO_MAX_ALG_NAME@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CRYPTO_MAX_ALG_NAME@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x3, [x21]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	w0, [x19, #52]
	ldr	w1, [x22]
	ldr	x3, [x21, #8]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	mov	w8, #300
	mov	x22, x19
	str	w8, [x22, #8]!
Lloh9:
	adrp	x8, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGEOFF]
Lloh11:
	adrp	x9, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w10, w9, [x21, #16]
	str	w9, [x19, #48]
	mov	w9, #4
	stp	w8, w9, [x19, #12]
Lloh15:
	adrp	x8, _crypto_ablkcipher_type@GOTPAGE
Lloh16:
	ldr	x8, [x8, _crypto_ablkcipher_type@GOTPAGEOFF]
	stp	x8, xzr, [x19, #32]
Lloh17:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _hifn_cra_init@GOTPAGE
Lloh21:
	ldr	x9, [x9, _hifn_cra_init@GOTPAGEOFF]
	stp	w10, w8, [x19, #24]
Lloh22:
	ldr	w8, [x9]
	str	w8, [x19, #20]
	str	x20, [x19, #64]
	add	x1, x20, #8
	mov	x0, x19
	bl	_list_add_tail
	mov	x0, x22
	bl	_crypto_register_alg
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_list_del
	mov	x0, x19
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CRYPTO_MAX_ALG_NAME,4,2        ; @CRYPTO_MAX_ALG_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s-%s"

	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ; @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
	.comm	_crypto_ablkcipher_type,4,2     ; @crypto_ablkcipher_type
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_hifn_cra_init,4,2              ; @hifn_cra_init
	.no_dead_strip	_hifn_alg_alloc
.subsections_via_symbols
