	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_crypt
_do_crypt:                              ## @do_crypt
	.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	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	_AES_OP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_virt_to_phys
	movq	__iobase@GOTPCREL(%rip), %r13
	movq	_AES_SOURCEA_REG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movq	%r15, %rdi
	callq	_virt_to_phys
	movq	_AES_DSTA_REG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movq	_AES_LENA_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%r14d, %edi
	callq	_iowrite32
	movq	_AES_CTRL_START@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_AES_CTRLA_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_iowrite32
	movq	_AES_INTR_REG@GOTPCREL(%rip), %r14
	movq	_AES_INTRA_PENDING@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	callq	_ioread32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r15), %edi
	testl	%ebx, %edi
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%r12d
	jne	LBB0_1
## %bb.3:
	xorl	%r12d, %r12d
LBB0_4:
	movzbl	%bl, %eax
	orl	%eax, %edi
	movq	(%r14), %rsi
	addq	(%r13), %rsi
	callq	_iowrite32
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_OP_TIMEOUT,4,2             ## @AES_OP_TIMEOUT
	.comm	__iobase,8,3                    ## @_iobase
	.comm	_AES_SOURCEA_REG,8,3            ## @AES_SOURCEA_REG
	.comm	_AES_DSTA_REG,8,3               ## @AES_DSTA_REG
	.comm	_AES_LENA_REG,8,3               ## @AES_LENA_REG
	.comm	_AES_CTRL_START,4,2             ## @AES_CTRL_START
	.comm	_AES_CTRLA_REG,8,3              ## @AES_CTRLA_REG
	.comm	_AES_INTR_REG,8,3               ## @AES_INTR_REG
	.comm	_AES_INTRA_PENDING,4,2          ## @AES_INTRA_PENDING
	.no_dead_strip	_do_crypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_crypt
_do_crypt:                              ; @do_crypt
	.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, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _AES_OP_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AES_OP_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_virt_to_phys
Lloh3:
	adrp	x23, __iobase@GOTPAGE
Lloh4:
	ldr	x23, [x23, __iobase@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _AES_SOURCEA_REG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AES_SOURCEA_REG@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
	mov	x0, x21
	bl	_virt_to_phys
	ldr	x8, [x23]
Lloh8:
	adrp	x9, _AES_DSTA_REG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AES_DSTA_REG@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	x8, [x23]
Lloh11:
	adrp	x9, _AES_LENA_REG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AES_LENA_REG@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_iowrite32
Lloh14:
	adrp	x8, _AES_CTRL_START@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AES_CTRL_START@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w0, w8, w19
	ldr	x8, [x23]
Lloh17:
	adrp	x9, _AES_CTRLA_REG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AES_CTRLA_REG@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
Lloh20:
	adrp	x20, _AES_INTR_REG@GOTPAGE
Lloh21:
	ldr	x20, [x20, _AES_INTR_REG@GOTPAGEOFF]
Lloh22:
	adrp	x21, _AES_INTRA_PENDING@GOTPAGE
Lloh23:
	ldr	x21, [x21, _AES_INTRA_PENDING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_ioread32
	mov	x19, x0
	bl	_cpu_relax
	ldr	w8, [x21]
	tst	w8, w19
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	w22, w22, #1
	b.ne	LBB0_1
LBB0_3:
	and	w9, w19, #0xff
	orr	w0, w8, w9
	ldr	x8, [x23]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_iowrite32
	cmp	w22, #0
	cset	w0, eq
	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	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_OP_TIMEOUT,4,2             ; @AES_OP_TIMEOUT
	.comm	__iobase,8,3                    ; @_iobase
	.comm	_AES_SOURCEA_REG,8,3            ; @AES_SOURCEA_REG
	.comm	_AES_DSTA_REG,8,3               ; @AES_DSTA_REG
	.comm	_AES_LENA_REG,8,3               ; @AES_LENA_REG
	.comm	_AES_CTRL_START,4,2             ; @AES_CTRL_START
	.comm	_AES_CTRLA_REG,8,3              ; @AES_CTRLA_REG
	.comm	_AES_INTR_REG,8,3               ; @AES_INTR_REG
	.comm	_AES_INTRA_PENDING,4,2          ; @AES_INTRA_PENDING
	.no_dead_strip	_do_crypt
.subsections_via_symbols
