	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk_crypto_register
_rk_crypto_register:                    ## @rk_crypto_register
	.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	%rdi, %r14
	movq	_rk_cipher_algs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	movq	_ALG_TYPE_CIPHER@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	%r14, 16(%rcx)
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rdi
	callq	_crypto_register_alg
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdi
	callq	_crypto_register_ahash
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_8:
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.10:
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	addq	$8, %rdi
	callq	_crypto_unregister_ahash
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_15
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rax,%r14,8), %rdi
	addq	$12, %rdi
	callq	_crypto_unregister_alg
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_rk_cipher_algs,8,3             ## @rk_cipher_algs
	.comm	_ALG_TYPE_CIPHER,8,3            ## @ALG_TYPE_CIPHER
	.no_dead_strip	_rk_crypto_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk_crypto_register
_rk_crypto_register:                    ; @rk_crypto_register
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _rk_cipher_algs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rk_cipher_algs@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_12
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _ALG_TYPE_CIPHER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ALG_TYPE_CIPHER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #8
	bl	_crypto_register_ahash
	mov	x20, x0
	cbnz	w0, LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	lsl	x9, x22, #3
	ldr	x10, [x8, x9]
	str	x19, [x10, #16]
	ldr	x8, [x8, x9]
	ldr	x9, [x8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #12
	bl	_crypto_register_alg
	mov	x20, x0
	cbz	w0, LBB0_3
LBB0_6:
	cbz	w22, LBB0_13
; %bb.7:
	mov	x19, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x0, x9, #8
	bl	_crypto_unregister_ahash
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x19, x19, #1
	cmp	x22, x19
	b.eq	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x8, x22, lsl #3]
	ldr	x10, [x9]
	ldr	x11, [x23]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8, x19, lsl #3]
	add	x0, x8, #12
	bl	_crypto_unregister_alg
	b	LBB0_9
LBB0_12:
	mov	w20, #0
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rk_cipher_algs,8,3             ; @rk_cipher_algs
	.comm	_ALG_TYPE_CIPHER,8,3            ; @ALG_TYPE_CIPHER
	.no_dead_strip	_rk_crypto_register
.subsections_via_symbols
