	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid6_test
_raid6_test:                            ## @raid6_test
	.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	$0, -44(%rbp)
	movq	_NDISKS@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%r14d, %r14d
	movl	$0, %r15d
	cmpl	$-2, %edi
	jl	LBB0_12
## %bb.1:
	xorl	%ebx, %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movq	_data@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_alloc_page
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rax
	movslq	(%r12), %rdi
	leaq	2(%rdi), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_2
## %bb.9:
	xorl	%r15d, %r15d
	cmpl	$5, %edi
	jl	LBB0_12
## %bb.10:
	leaq	-44(%rbp), %rsi
	movl	$4, %edi
	callq	_test
	movq	%rax, %r15
	movl	(%r12), %edi
	cmpl	$6, %edi
	jl	LBB0_12
## %bb.11:
	leaq	-44(%rbp), %rsi
	movl	$5, %edi
	callq	_test
	addl	%r15d, %eax
	movl	(%r12), %edi
	movl	%eax, %r15d
LBB0_12:
	leaq	-44(%rbp), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_test
	addl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr
	movl	-44(%rbp), %esi
	cmpl	$1, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr
	cmpl	$-2, (%r12)
	jl	LBB0_15
## %bb.13:
	movq	$-1, %rbx
	movq	_data@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	4(%rax,%rbx,4), %edi
	callq	_put_page
	movslq	(%r12), %rax
	addq	$2, %rax
	incq	%rbx
	cmpq	%rax, %rbx
	jl	LBB0_14
	jmp	LBB0_15
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.4:
	movl	-4(%rcx,%rbx,4), %edi
	callq	_put_page
	cmpq	$1, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	-8(%rax,%rbx,4), %edi
	callq	_put_page
	decq	%rbx
	cmpq	$1, %rbx
	jne	LBB0_5
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NDISKS,4,2                     ## @NDISKS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_data,8,3                       ## @data
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"complete (%d tests, %d failure%s)\n"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"s"

	.no_dead_strip	_raid6_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid6_test
_raid6_test:                            ; @raid6_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	wzr, [sp, #28]
Lloh0:
	adrp	x20, _NDISKS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NDISKS@GOTPAGEOFF]
	ldr	w0, [x20]
	cmn	w0, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	adrp	x19, _data@GOTPAGE
Lloh5:
	ldr	x19, [x19, _data@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_alloc_page
	ldr	x8, [x19]
	str	w0, [x8, x21, lsl #2]
	cbz	w0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x21, #1
	ldrsw	x0, [x20]
	add	x9, x0, #2
	cmp	x21, x9
	mov	x21, x8
	b.lt	LBB0_2
; %bb.4:
	cmp	w0, #5
	b.lt	LBB0_7
; %bb.5:
	add	x1, sp, #28
	mov	w0, #4
	bl	_test
	mov	x19, x0
	ldr	w0, [x20]
	cmp	w0, #6
	b.lt	LBB0_8
; %bb.6:
	add	x1, sp, #28
	mov	w0, #5
	bl	_test
	add	w19, w0, w19
	ldr	w0, [x20]
	b	LBB0_8
LBB0_7:
	mov	w19, #0
LBB0_8:
	add	x1, sp, #28
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_test
	add	w19, w19, w0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #1
	csel	x8, x9, x8, eq
	ldr	w9, [sp, #28]
	stp	x19, x8, [sp, #8]
	str	x9, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr
	ldr	w8, [x20]
	cmn	w8, #2
	b.lt	LBB0_11
; %bb.9:
	mov	x19, #0
Lloh14:
	adrp	x21, _data@GOTPAGE
Lloh15:
	ldr	x21, [x21, _data@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x19, lsl #2]
	bl	_put_page
	add	x8, x19, #1
	ldrsw	x9, [x20]
	add	x9, x9, #2
	cmp	x19, x9
	mov	x19, x8
	b.lt	LBB0_10
LBB0_11:
	mov	w0, #0
	b	LBB0_17
LBB0_12:
	cbz	w21, LBB0_16
; %bb.13:
	add	x8, x8, x21, lsl #2
	ldur	w0, [x8, #-4]
	bl	_put_page
	cmp	x21, #1
	b.eq	LBB0_16
; %bb.14:
	sub	x20, x21, #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x20, lsl #2]
	bl	_put_page
	sub	x20, x20, #1
	cmn	x20, #1
	b.ne	LBB0_15
LBB0_16:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NDISKS,4,2                     ; @NDISKS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_data,8,3                       ; @data
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"complete (%d tests, %d failure%s)\n"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"s"

	.no_dead_strip	_raid6_test
.subsections_via_symbols
