	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw68_risc_field
_tw68_risc_field:                       ## @tw68_risc_field
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r13
	cmpl	$0, 24(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_RISC_JUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	movl	$0, 4(%r13)
	addq	$8, %r13
LBB0_2:
	cmpl	$1, %r15d
	jne	LBB0_3
## %bb.4:
	movq	_RISC_SYNCO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_RISC_SYNCE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	16(%rbp), %r15d
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	movl	$0, 4(%r13)
	addq	$8, %r13
	testl	%r15d, %r15d
	je	LBB0_23
## %bb.6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_RISC_LINESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%r13d, %edi
	callq	_cpu_to_le32
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_sg_dma_address
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r14), %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%rbx)
	addq	$8, %rbx
	addl	%r13d, %r14d
	movq	%rbx, %r13
	movl	16(%rbp), %eax
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	addl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	incl	%r15d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %r15d
	je	LBB0_23
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r14d
	jb	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r12, %rdi
	callq	_sg_dma_len
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	subl	%ebx, %r14d
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
	movl	-56(%rbp), %r13d                ## 4-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_sg_dma_len
	subl	%r14d, %eax
	cmpl	%r13d, %eax
	jae	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	callq	_sg_dma_len
	movl	%eax, %r15d
	subl	%r14d, %r15d
	movq	_RISC_LINESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%r15d, %edi
	orl	$117440512, %edi                ## imm = 0x7000000
	callq	_cpu_to_le32
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_sg_dma_address
	addl	%eax, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%rbx)
	movl	%r13d, %r14d
	subl	%r15d, %r14d
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	leaq	8(%rbx), %r13
	movq	%rax, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r14d
	jbe	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	shll	$12, %r15d
	movq	_RISC_INLINE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_sg_dma_len
	orl	%eax, %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	movq	%r12, %rdi
	callq	_sg_dma_address
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r13)
	movq	%r12, %rdi
	callq	_sg_dma_len
	subl	%eax, %r14d
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_sg_dma_len
	movl	%eax, %r15d
	addl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	addq	$8, %r13
	movq	%r12, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r14d
	ja	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	-8(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_RISC_INLINE@GOTPCREL(%rip), %rax
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	shll	$12, %r15d
	orl	%r14d, %r15d
	orl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13)
	movq	%r12, %rdi
	callq	_sg_dma_address
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 12(%r13)
	addq	$16, %r13
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%rbp), %eax
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_22
LBB0_23:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RISC_JUMP,4,2                  ## @RISC_JUMP
	.comm	_RISC_SYNCO,4,2                 ## @RISC_SYNCO
	.comm	_RISC_SYNCE,4,2                 ## @RISC_SYNCE
	.comm	_RISC_LINESTART,4,2             ## @RISC_LINESTART
	.comm	_RISC_INLINE,4,2                ## @RISC_INLINE
	.no_dead_strip	_tw68_risc_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw68_risc_field
_tw68_risc_field:                       ; @tw68_risc_field
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x25, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	cbz	w7, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RISC_JUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RISC_JUMP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	stp	w0, wzr, [x24], #8
LBB0_2:
Lloh3:
	adrp	x8, _RISC_SYNCO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RISC_SYNCO@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RISC_SYNCE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RISC_SYNCE@GOTPAGEOFF]
	cmp	w25, #1
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	bl	_cpu_to_le32
	add	x28, x24, #8
	stp	w0, wzr, [x24]
	cbz	w19, LBB0_16
; %bb.3:
	mov	w25, #0
Lloh7:
	adrp	x26, _RISC_LINESTART@GOTPAGE
Lloh8:
	ldr	x26, [x26, _RISC_LINESTART@GOTPAGEOFF]
Lloh9:
	adrp	x27, _RISC_INLINE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _RISC_INLINE@GOTPAGEOFF]
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	orr	w0, w8, w21
	bl	_cpu_to_le32
	str	w0, [x28]
	mov	x0, x22
	bl	_sg_dma_address
	add	w0, w0, w23
	bl	_cpu_to_le32
	add	x24, x28, #8
	str	w0, [x28, #4]
	add	w23, w23, w21
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, w20
	add	w25, w25, #1
	mov	x28, x24
	cmp	w25, w19
	b.eq	LBB0_17
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	cbz	w23, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_sg_dma_len
	cmp	w23, w0
	b.lo	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	bl	_sg_dma_len
	sub	w23, w23, w0
	mov	x0, x22
	bl	_sg_next
	mov	x22, x0
	cbnz	w23, LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_sg_dma_len
	sub	w8, w0, w23
	cmp	w8, w21
	b.hs	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x20
	mov	x0, x22
	bl	_sg_dma_len
	mov	x20, x26
	ldr	w8, [x26]
	sub	w26, w0, w23
	orr	w8, w26, w8
	orr	w0, w8, #0x7000000
	bl	_cpu_to_le32
	str	w0, [x28]
	mov	x0, x22
	bl	_sg_dma_address
	add	w0, w0, w23
	bl	_cpu_to_le32
	str	w0, [x28, #4]
	sub	w23, w21, w26
	mov	x0, x22
	bl	_sg_next
	mov	x22, x0
	add	x24, x28, #8
	bl	_sg_dma_len
	cmp	w23, w0
	b.ls	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x27]
	orr	w28, w8, w26, lsl #12
	mov	x0, x22
	bl	_sg_dma_len
	orr	w0, w28, w0
	bl	_cpu_to_le32
	str	w0, [x24]
	mov	x0, x22
	bl	_sg_dma_address
	bl	_cpu_to_le32
	str	w0, [x24, #4]
	mov	x0, x22
	bl	_sg_dma_len
	sub	w23, w23, w0
	mov	x0, x22
	bl	_sg_next
	mov	x22, x0
	bl	_sg_dma_len
	add	w26, w0, w26
	add	x24, x24, #8
	mov	x0, x22
	bl	_sg_dma_len
	cmp	w23, w0
	b.hi	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x28, x24, #8
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w23, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	orr	w9, w23, w26, lsl #12
	orr	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [x24]
	mov	x0, x22
	bl	_sg_dma_address
	bl	_cpu_to_le32
	add	x24, x28, #16
	str	w0, [x28, #12]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x20
	mov	x20, x19
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_5
LBB0_16:
	mov	x24, x28
LBB0_17:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RISC_JUMP,4,2                  ; @RISC_JUMP
	.comm	_RISC_SYNCO,4,2                 ; @RISC_SYNCO
	.comm	_RISC_SYNCE,4,2                 ; @RISC_SYNCE
	.comm	_RISC_LINESTART,4,2             ; @RISC_LINESTART
	.comm	_RISC_INLINE,4,2                ; @RISC_INLINE
	.no_dead_strip	_tw68_risc_field
.subsections_via_symbols
