	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function micsetup
_micsetup:                              ## @micsetup
	.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, %r12
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_alloc_sync_skcipher
	movq	%rax, %rdi
	movq	%rax, 8(%r12)
LBB0_2:
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_airo_print_err
	movq	$0, 8(%r12)
	movq	_ERROR@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_3:
	movq	_NUM_MODULES@GOTPCREL(%rip), %r15
	movq	_SUCCESS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	movl	$4, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r12), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$-4, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	incq	%r13
	movslq	(%r15), %rax
	addq	$8, %rbx
	cmpq	%rax, %r13
	jl	LBB0_5
LBB0_6:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctr(aes)"

L_.str.1:                               ## @.str.1
	.asciz	"failed to load transform for AES"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_NUM_MODULES,4,2                ## @NUM_MODULES
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_micsetup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function micsetup
_micsetup:                              ; @micsetup
	.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
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_IS_ERR
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_airo_print_err
	str	xzr, [x19, #8]
Lloh2:
	adrp	x20, _ERROR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_crypto_alloc_sync_skcipher
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbnz	x0, LBB0_2
LBB0_4:
Lloh6:
	adrp	x21, _NUM_MODULES@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NUM_MODULES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	mov	w23, #4
Lloh8:
	adrp	x20, _SUCCESS@GOTPAGE
Lloh9:
	ldr	x20, [x20, _SUCCESS@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x23
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19]
	add	x8, x8, x23
	sub	x0, x8, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x23, x23, #8
	cmp	x22, x8
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x20, _SUCCESS@GOTPAGE
Lloh11:
	ldr	x20, [x20, _SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctr(aes)"

l_.str.1:                               ; @.str.1
	.asciz	"failed to load transform for AES"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_NUM_MODULES,4,2                ; @NUM_MODULES
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_micsetup
.subsections_via_symbols
