	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __n2_register_one_cipher
___n2_register_one_cipher:              ## @__n2_register_one_cipher
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$8, %r15
	movl	16(%rax), %edi
	movq	_CRYPTO_MAX_ALG_NAME@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movl	48(%rbx), %edi
	movl	(%r12), %esi
	movq	8(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	movq	_N2_CRA_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPCREL(%rip), %rax
	movq	_CRYPTO_ALG_KERN_DRIVER_ONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 40(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	$4, 12(%rbx)
	movq	_crypto_ablkcipher_type@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_n2_cipher_cra_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_cipher_algs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add
	movq	%r15, %rdi
	callq	_crypto_register_alg
	movl	16(%rbx), %esi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_info
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	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-n2"

	.comm	_N2_CRA_PRIORITY,4,2            ## @N2_CRA_PRIORITY
	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ## @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_CRYPTO_ALG_KERN_DRIVER_ONLY,4,2 ## @CRYPTO_ALG_KERN_DRIVER_ONLY
	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
	.comm	_crypto_ablkcipher_type,4,2     ## @crypto_ablkcipher_type
	.comm	_n2_cipher_cra_init,4,2         ## @n2_cipher_cra_init
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_cipher_algs,4,2                ## @cipher_algs
L_.str.2:                               ## @.str.2
	.asciz	"%s alg registration failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s alg registered\n"

	.no_dead_strip	___n2_register_one_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __n2_register_one_cipher
___n2_register_one_cipher:              ; @__n2_register_one_cipher
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh3:
	adrp	x21, _CRYPTO_MAX_ALG_NAME@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CRYPTO_MAX_ALG_NAME@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	x3, [x20]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	w0, [x19, #48]
	ldr	w1, [x21]
	ldr	x3, [x20, #8]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
Lloh9:
	adrp	x8, _N2_CRA_PRIORITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _N2_CRA_PRIORITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGEOFF]
Lloh14:
	adrp	x10, _CRYPTO_ALG_KERN_DRIVER_ONLY@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CRYPTO_ALG_KERN_DRIVER_ONLY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh19:
	ldr	x10, [x10, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	x21, x19
	str	w9, [x21, #8]!
	ldr	w9, [x20, #24]
	stp	w9, w8, [x19, #40]
	ldp	w9, w8, [x20, #16]
	str	w8, [x19, #4]
	mov	w8, #4
	str	w8, [x19, #12]
Lloh21:
	adrp	x8, _crypto_ablkcipher_type@GOTPAGE
Lloh22:
	ldr	x8, [x8, _crypto_ablkcipher_type@GOTPAGEOFF]
	str	x8, [x19, #32]
	str	w9, [x19, #28]
Lloh23:
	adrp	x8, _n2_cipher_cra_init@GOTPAGE
Lloh24:
	ldr	x8, [x8, _n2_cipher_cra_init@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
Lloh29:
	adrp	x1, _cipher_algs@GOTPAGE
Lloh30:
	ldr	x1, [x1, _cipher_algs@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add
	mov	x0, x21
	bl	_crypto_register_alg
	mov	x20, x0
	ldr	w1, [x19, #16]
	cbz	w0, LBB0_4
; %bb.2:
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	mov	x0, x19
	bl	_list_del
	mov	x0, x19
	bl	_kfree
	b	LBB0_5
LBB0_3:
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_4:
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_info
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.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-n2"

	.comm	_N2_CRA_PRIORITY,4,2            ; @N2_CRA_PRIORITY
	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ; @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_CRYPTO_ALG_KERN_DRIVER_ONLY,4,2 ; @CRYPTO_ALG_KERN_DRIVER_ONLY
	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
	.comm	_crypto_ablkcipher_type,4,2     ; @crypto_ablkcipher_type
	.comm	_n2_cipher_cra_init,4,2         ; @n2_cipher_cra_init
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_cipher_algs,4,2                ; @cipher_algs
l_.str.2:                               ; @.str.2
	.asciz	"%s alg registration failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s alg registered\n"

	.no_dead_strip	___n2_register_one_cipher
.subsections_via_symbols
