	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __setup_offsets
___setup_offsets:                       ## @__setup_offsets
	.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, %r14
	movslq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	16(%r14), %rcx
	movq	(%rcx), %rcx
	movq	-8(%rcx,%rax,8), %rax
	movq	8(%rax), %rcx
	movslq	4(%rax), %rax
	shlq	$4, %rax
	movq	-16(%rax,%rcx), %rdi
	addq	-8(%rax,%rcx), %rdi
	callq	_PAGE_ALIGN
	movq	%rax, %rbx
	cmpl	$0, 4(%r14)
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	cmpl	$0, 4(%r14)
	je	LBB0_6
LBB0_4:
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	%rbx, 8(%rax,%r13)
	movl	(%r14), %edx
	movl	$3, %edi
	movq	%r15, %rsi
	movl	%r12d, %ecx
	movq	%rbx, %r8
	callq	_dprintk
	movq	8(%r14), %rax
	addq	(%rax,%r13), %rbx
	movq	%rbx, %rdi
	callq	_PAGE_ALIGN
	movq	%rax, %rbx
	incq	%r12
	movl	4(%r14), %eax
	addq	$16, %r13
	cmpq	%rax, %r12
	jb	LBB0_5
LBB0_6:
	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	"buffer %d, plane %d offset 0x%08lx\n"

	.no_dead_strip	___setup_offsets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __setup_offsets
___setup_offsets:                       ; @__setup_offsets
	.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	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	sub	w8, w8, #1
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8, #4]
	add	x8, x9, x8, lsl #4
	ldp	x8, x9, [x8, #-16]
	add	x0, x8, x9
	bl	_PAGE_ALIGN
	mov	x20, x0
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_2:
	mov	x20, #0
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
LBB0_3:
	mov	x23, #0
	mov	x21, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	str	x20, [x8, #8]
	ldr	w2, [x19]
	mov	w0, #3
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	bl	_dprintk
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x23]
	add	x0, x8, x20
	bl	_PAGE_ALIGN
	mov	x20, x0
	add	x21, x21, #1
	ldr	w8, [x19, #4]
	add	x23, x23, #16
	cmp	x21, x8
	b.lo	LBB0_4
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer %d, plane %d offset 0x%08lx\n"

	.no_dead_strip	___setup_offsets
.subsections_via_symbols
