	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function root_256
_root_256:                              ## @root_256
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	cmpl	$1, %ecx
	jne	LBB0_1
## %bb.9:
	movq	%rdx, %r14
	movl	(%rdi), %edi
	addq	$8, %rdx
	movl	$512, %esi                      ## imm = 0x200
	callq	_pci_alloc_consistent
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	8(%r15), %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx,%rbx)
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx)
	addl	$256, %r15d                     ## imm = 0x100
	addq	$16, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_12
	jmp	LBB0_13
LBB0_1:
	movq	(%r15), %rax
	movups	48(%rax), %xmm0
	movups	%xmm0, 768(%rax)
	movq	(%r15), %rax
	movq	776(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r15), %rax
	movq	768(%rax), %rdi
	callq	_le32_to_cpu
	xorl	%ebx, %ebx
                                        ## implicit-def: $r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 792(%rcx,%rbx)
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 784(%rcx,%rbx)
	addq	$16, %rbx
	addl	$256, %r14d                     ## imm = 0x100
	cmpq	$240, %rbx
	jne	LBB0_2
## %bb.3:
	movups	32(%rcx), %xmm0
	movups	%xmm0, 512(%rcx)
	movq	(%r15), %rax
	movq	520(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r15), %rax
	movq	512(%rax), %rdi
	callq	_le32_to_cpu
	xorl	%ebx, %ebx
                                        ## implicit-def: $r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 536(%rcx,%rbx)
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 528(%rcx,%rbx)
	addq	$16, %rbx
	addl	$256, %r14d                     ## imm = 0x100
	cmpq	$240, %rbx
	jne	LBB0_4
## %bb.5:
	movups	16(%rcx), %xmm0
	movups	%xmm0, 256(%rcx)
	movq	(%r15), %rax
	movq	264(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r15), %rax
	movq	256(%rax), %rdi
	callq	_le32_to_cpu
	xorl	%ebx, %ebx
                                        ## implicit-def: $r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 280(%rcx,%rbx)
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 272(%rcx,%rbx)
	addq	$16, %rbx
	addl	$256, %r14d                     ## imm = 0x100
	cmpq	$240, %rbx
	jne	LBB0_6
## %bb.7:
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	callq	_le32_to_cpu
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_le32_to_cpu
	xorl	%ebx, %ebx
                                        ## implicit-def: $r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx,%rbx)
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx,%rbx)
	addq	$16, %rbx
	addl	$256, %r14d                     ## imm = 0x100
	cmpq	$240, %rbx
	jne	LBB0_8
LBB0_13:
	movl	$1, %eax
	jmp	LBB0_14
LBB0_10:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_root_256
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function root_256
_root_256:                              ; @root_256
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	cmp	w3, #1
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x2
	ldr	w0, [x0]
	add	x2, x2, #8
	mov	w1, #512
	bl	_pci_alloc_consistent
	str	x0, [x20]
	cbz	x0, LBB0_13
; %bb.2:
	mov	x21, #0
	ldr	w19, [x19, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_cpu_to_le32
	ldr	x8, [x20]
	add	x8, x8, x21
	str	x0, [x8, #8]
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8, x21]
	add	w19, w19, #256
	add	x21, x21, #16
	cmp	x21, #256
	b.ne	LBB0_3
	b	LBB0_12
LBB0_4:
	ldr	x8, [x19]
	ldr	q0, [x8, #48]
	str	q0, [x8, #768]
	ldr	x8, [x19]
	ldr	x0, [x8, #776]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	ldr	x0, [x8, #768]
	bl	_le32_to_cpu
	mov	w21, #784
                                        ; implicit-def: $w20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #8]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, x21]
	add	x21, x21, #16
	add	w20, w20, #256
	cmp	x21, #1024
	b.ne	LBB0_5
; %bb.6:
	ldr	q0, [x8, #32]
	str	q0, [x8, #512]
	ldr	x8, [x19]
	ldr	x0, [x8, #520]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	ldr	x0, [x8, #512]
	bl	_le32_to_cpu
	mov	w21, #528
                                        ; implicit-def: $w20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #8]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, x21]
	add	x21, x21, #16
	add	w20, w20, #256
	cmp	x21, #768
	b.ne	LBB0_7
; %bb.8:
	ldr	q0, [x8, #16]
	str	q0, [x8, #256]
	ldr	x8, [x19]
	ldr	x0, [x8, #264]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	ldr	x0, [x8, #256]
	bl	_le32_to_cpu
	mov	w21, #272
                                        ; implicit-def: $w20
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #8]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	x0, [x8, x21]
	add	x21, x21, #16
	add	w20, w20, #256
	cmp	x21, #512
	b.ne	LBB0_9
; %bb.10:
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_le32_to_cpu
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_le32_to_cpu
	mov	x21, #0
                                        ; implicit-def: $w20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #24]
	bl	_cpu_to_le32
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #16]
	add	x21, x21, #16
	add	w20, w20, #256
	cmp	x21, #240
	b.ne	LBB0_11
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_root_256
.subsections_via_symbols
