	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_mult
_async_mult:                            ## @async_mult
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -80(%rbp)
	movq	%rsi, -72(%rbp)
	movq	%rdx, -88(%rbp)
	movq	_DMA_PQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, (%rsp)
	leaq	-80(%rbp), %rdx
	leaq	-72(%rbp), %r8
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_async_tx_find_channel
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%rax), %r13
	movq	_DMA_PREP_PQ_DISABLE_P@GOTPCREL(%rip), %rax
	movq	_ASYNC_TX_FENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	andl	(%r14), %r12d
	je	LBB0_4
## %bb.3:
	movq	_DMA_PREP_FENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_4:
	orl	(%rax), %r12d
	movq	-80(%rbp), %rsi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_dma_map_page
	movl	%eax, -52(%rbp)
	movq	-72(%rbp), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_dma_map_page
	movl	%eax, -60(%rbp)
	movl	%r12d, (%rsp)
	leaq	-56(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-88(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %ecx
	movq	%r15, %r9
	movq	-104(%rbp), %rax                ## 8-byte Reload
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_5
## %bb.15:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_async_tx_submit
	jmp	LBB0_13
LBB0_5:
	movl	-52(%rbp), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_dma_unmap_page
	movl	-60(%rbp), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_dma_unmap_page
LBB0_6:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_async_tx_quiesce
	movq	_raid6_gfmul@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	-80(%rbp), %rdi
	callq	_page_address
	movq	%rax, %rbx
	movq	-72(%rbp), %rdi
	callq	_page_address
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	leaq	-1(%r15), %rcx
	movq	%r15, %rdx
	andq	$3, %rdx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	decq	%r15
	movq	(%rax), %rsi
	addq	$8, %rax
	movq	(%r14,%rsi,8), %rsi
	movq	%rsi, (%rbx)
	addq	$8, %rbx
	decq	%rdx
	jne	LBB0_9
LBB0_10:
	xorl	%r13d, %r13d
	cmpq	$3, %rcx
	jb	LBB0_13
## %bb.11:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rdx
	movq	(%r14,%rdx,8), %rdx
	movq	%rdx, (%rbx,%rcx,8)
	movq	8(%rax,%rcx,8), %rdx
	movq	(%r14,%rdx,8), %rdx
	movq	%rdx, 8(%rbx,%rcx,8)
	movq	16(%rax,%rcx,8), %rdx
	movq	(%r14,%rdx,8), %rdx
	movq	%rdx, 16(%rbx,%rcx,8)
	movq	24(%rax,%rcx,8), %rdx
	movq	(%r14,%rdx,8), %rdx
	movq	%rdx, 24(%rbx,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %r15
	jne	LBB0_12
	jmp	LBB0_13
LBB0_7:
	xorl	%r13d, %r13d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.14:
	movq	%r13, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_PQ,4,2                     ## @DMA_PQ
	.comm	_DMA_PREP_PQ_DISABLE_P,4,2      ## @DMA_PREP_PQ_DISABLE_P
	.comm	_ASYNC_TX_FENCE,4,2             ## @ASYNC_TX_FENCE
	.comm	_DMA_PREP_FENCE,4,2             ## @DMA_PREP_FENCE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_raid6_gfmul,8,3                ## @raid6_gfmul
	.no_dead_strip	_async_mult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_mult
_async_mult:                            ; @async_mult
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x19, x3
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	x1, x0, [sp, #16]
	str	x2, [sp, #8]
Lloh3:
	adrp	x8, _DMA_PQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_PQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x4, sp, #16
	mov	x0, x20
	mov	w3, #1
	mov	w5, #1
	mov	x6, x19
	bl	_async_tx_find_channel
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	x25, [x0]
	cbz	x25, LBB0_5
; %bb.2:
	ldr	x21, [x25, #8]
Lloh6:
	adrp	x8, _DMA_PREP_PQ_DISABLE_P@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_PREP_PQ_DISABLE_P@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ASYNC_TX_FENCE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ASYNC_TX_FENCE@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x11, _DMA_PREP_FENCE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _DMA_PREP_FENCE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w9, w10
	csel	w9, wzr, w11, eq
	orr	w23, w9, w8
	ldr	x1, [sp, #24]
Lloh15:
	adrp	x24, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh16:
	ldr	x24, [x24, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldr	w4, [x24]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	bl	_dma_map_page
	str	w0, [sp, #36]
	ldr	x1, [sp, #16]
Lloh17:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh18:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w4, [x26]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x19
	bl	_dma_map_page
	str	w0, [sp, #4]
	ldr	x8, [x25]
	add	x1, sp, #32
	add	x2, sp, #4
	add	x4, sp, #8
	mov	x0, x22
	mov	w3, #1
	mov	x5, x19
	mov	x6, x23
	blr	x8
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_async_tx_submit
	b	LBB0_8
LBB0_4:
	ldr	w1, [sp, #36]
	ldr	w3, [x24]
	mov	x0, x21
	mov	x2, x19
	bl	_dma_unmap_page
	ldr	w1, [sp, #4]
	ldr	w3, [x26]
	mov	x0, x21
	mov	x2, x19
	bl	_dma_unmap_page
LBB0_5:
	add	x0, x20, #4
	bl	_async_tx_quiesce
Lloh19:
	adrp	x8, _raid6_gfmul@GOTPAGE
Lloh20:
	ldr	x8, [x8, _raid6_gfmul@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	ldr	x21, [x8, x9, lsl #3]
	ldr	x0, [sp, #24]
	bl	_page_address
	mov	x20, x0
	ldr	x0, [sp, #16]
	bl	_page_address
	cbz	x19, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0], #8
	ldr	x8, [x21, x8, lsl #3]
	str	x8, [x20], #8
	subs	x19, x19, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x23, #0
LBB0_8:
	ldr	x8, [sp, #40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_PQ,4,2                     ; @DMA_PQ
	.comm	_DMA_PREP_PQ_DISABLE_P,4,2      ; @DMA_PREP_PQ_DISABLE_P
	.comm	_ASYNC_TX_FENCE,4,2             ; @ASYNC_TX_FENCE
	.comm	_DMA_PREP_FENCE,4,2             ; @DMA_PREP_FENCE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_raid6_gfmul,8,3                ; @raid6_gfmul
	.no_dead_strip	_async_mult
.subsections_via_symbols
