	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_desc
_setup_desc:                            ## @setup_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %r10
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	24(%rbp), %rdi
	movl	16(%rbp), %r11d
	movl	%edx, %eax
	leaq	48(%r10), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -8(%rbx)
	movq	%rsi, -48(%rbx)
	movl	%r8d, -40(%rbx)
	movl	%r9d, -36(%rbx)
	movq	%rdi, -32(%rbx)
	movl	%r11d, -24(%rbx)
	movq	%rdi, -16(%rbx)
	addq	%rcx, %rsi
	addq	$48, %rbx
	decq	%rax
	jne	LBB0_2
LBB0_3:
	decl	%edx
	movslq	%edx, %rax
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	%r10, 40(%r10,%rax)
	movq	40(%r10), %rdx
	leaq	48(%r10), %rcx
	movq	88(%r10), %r8
	movl	12(%r10), %r9d
	movl	24(%r10), %eax
	movl	8(%r10), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movq	%r10, %rsi
	pushq	%rbx
	pushq	(%r10)
	pushq	%rax
	callq	_pr_debug
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setup desc: desc0=%p, next0=%p, desc1=%p,next1=%p\nx_count=%x,y_count=%x,addr=0x%lx,cfs=0x%x\n"

	.no_dead_strip	_setup_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_desc
_setup_desc:                            ; @setup_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x8, x0
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w9, w2
	cmp	w2, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	mov	x11, #0
	and	x10, x9, #0xfffffffc
	lsl	x12, x3, #1
	add	x13, x12, x3
	lsl	x14, x3, #2
	lsr	x15, x9, #2
	add	x15, x15, x15, lsl #1
	lsl	x15, x15, #6
	mov	x16, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x17, x8, x11
	add	x0, x3, x16
	mov	x19, x17
	str	x0, [x19, #48]!
	add	x0, x12, x16
	mov	x20, x17
	str	x0, [x20, #96]!
	add	x0, x13, x16
	mov	x21, x17
	str	x0, [x21, #144]!
	str	x16, [x17]
	add	x0, x17, #192
	stp	w4, w5, [x17, #8]
	stp	w4, w5, [x17, #56]
	stp	w4, w5, [x17, #104]
	stp	w4, w5, [x17, #152]
	str	x7, [x17, #16]
	str	x7, [x17, #64]
	str	x7, [x17, #112]
	str	x7, [x17, #160]
	str	w6, [x17, #24]
	str	w6, [x17, #72]
	str	w6, [x17, #120]
	str	w6, [x17, #168]
	stp	x7, x19, [x17, #32]
	stp	x7, x20, [x17, #80]
	stp	x7, x21, [x17, #128]
	add	x11, x11, #192
	add	x16, x16, x14
	stp	x7, x0, [x17, #176]
	cmp	x15, x11
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_6:
	madd	x11, x10, x3, x1
	mov	w12, #48
	madd	x12, x10, x12, x8
	add	x12, x12, #48
	sub	x9, x9, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stur	x11, [x12, #-48]
	stp	w4, w5, [x12, #-40]
	stur	x7, [x12, #-32]
	stur	w6, [x12, #-24]
	add	x11, x11, x3
	stp	x7, x12, [x12, #-16]
	add	x12, x12, #48
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	mov	w9, #48
	smaddl	x9, w2, w9, x8
	stur	x8, [x9, #-8]
	ldr	x2, [x8, #40]
	add	x3, x8, #48
	ldr	x4, [x8, #88]
	ldr	w6, [x8, #24]
	ldr	x7, [x8]
	ldp	w9, w5, [x8, #8]
	str	w9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_pr_debug
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setup desc: desc0=%p, next0=%p, desc1=%p,next1=%p\nx_count=%x,y_count=%x,addr=0x%lx,cfs=0x%x\n"

	.no_dead_strip	_setup_desc
.subsections_via_symbols
