	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx88_risc_field
_cx88_risc_field:                       ## @cx88_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, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpl	$0, 32(%rbp)
	je	LBB0_2
## %bb.1:
	movq	_RISC_JUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, (%rbx)
	movl	$0, 4(%rbx)
	addq	$8, %rbx
LBB0_2:
	movq	_NO_SYNC_LINE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_RISC_RESYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, (%rbx)
	addq	$4, %rbx
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rbp)
	je	LBB0_24
## %bb.5:
	xorl	%r15d, %r15d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	orl	%ebx, %r15d
	orl	%r14d, %r15d
	movq	_RISC_EOL@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%ebx, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_sg_dma_address
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r13), %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%rbx)
	addq	$8, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addl	%r14d, %r13d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	incl	%r15d
	cmpl	16(%rbp), %r15d
	je	LBB0_24
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	testl	%r13d, %r13d
	je	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r13d
	jb	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%r12, %rdi
	callq	_sg_dma_len
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	subl	%ebx, %r13d
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r13d, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 24(%rbp)
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	24(%rbp)
	testl	%edx, %edx
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_RISC_SOL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_sg_dma_len
	subl	%r13d, %eax
	movq	_RISC_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %eax
	jae	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	orl	%r15d, %r14d
	movq	%r12, %rdi
	callq	_sg_dma_len
	subl	%r13d, %eax
	orl	%eax, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_sg_dma_address
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r13), %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r15)
	movq	%r12, %rdi
	callq	_sg_dma_len
	addl	%ebx, %r13d
	subl	%eax, %r13d
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	leaq	8(%r15), %r14
	movq	%rax, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r13d
	jbe	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_RISC_WRITE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %ebx
	movq	%r12, %rdi
	callq	_sg_dma_len
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_sg_dma_address
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	movq	%r12, %rdi
	callq	_sg_dma_len
	subl	%eax, %r13d
	movq	%r12, %rdi
	callq	_sg_next
	movq	%rax, %r12
	addq	$8, %r14
	movq	%rax, %rdi
	callq	_sg_dma_len
	cmpl	%eax, %r13d
	ja	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-8(%r14), %rbx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	_RISC_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%r13d, %edi
	movq	_RISC_EOL@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_sg_dma_address
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 12(%rbx)
	addq	$16, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_RISC_IRQ1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_RISC_SOL@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RISC_CNT_INC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_15
LBB0_24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	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	_NO_SYNC_LINE,4,2               ## @NO_SYNC_LINE
	.comm	_RISC_RESYNC,4,2                ## @RISC_RESYNC
	.comm	_RISC_SOL,4,2                   ## @RISC_SOL
	.comm	_RISC_IRQ1,4,2                  ## @RISC_IRQ1
	.comm	_RISC_CNT_INC,4,2               ## @RISC_CNT_INC
	.comm	_RISC_WRITE,4,2                 ## @RISC_WRITE
	.comm	_RISC_EOL,4,2                   ## @RISC_EOL
	.no_dead_strip	_cx88_risc_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx88_risc_field
_cx88_risc_field:                       ; @cx88_risc_field
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x26, x3
	mov	x25, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w8, [x29, #16]
	cbz	w8, 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, _NO_SYNC_LINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_SYNC_LINE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w26
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _RISC_RESYNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RISC_RESYNC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w0, w8, w26
	bl	_cpu_to_le32
	str	w0, [x24], #4
LBB0_4:
	cbz	w20, LBB0_21
; %bb.5:
	mov	w26, #0
Lloh9:
	adrp	x28, _RISC_WRITE@GOTPAGE
Lloh10:
	ldr	x28, [x28, _RISC_WRITE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh11:
	adrp	x9, _RISC_EOL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RISC_EOL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w10, w27, w22
	orr	w8, w10, w8
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [x24]
	mov	x0, x23
	bl	_sg_dma_address
	add	w0, w0, w25
	bl	_cpu_to_le32
	str	w0, [x24, #4]
	add	x24, x24, #8
	add	w25, w25, w22
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w25, w25, w21
	add	w26, w26, #1
	cmp	w26, w20
	b.eq	LBB0_21
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	cbz	w25, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_sg_dma_len
	cmp	w25, w0
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x23
	bl	_sg_dma_len
	sub	w25, w25, w0
	mov	x0, x23
	bl	_sg_next
	mov	x23, x0
	cbnz	w25, LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w19, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	w26, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	udiv	w8, w26, w19
	msub	w8, w8, w19, w26
	cbz	w8, LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh14:
	adrp	x8, _RISC_SOL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RISC_SOL@GOTPAGEOFF]
Lloh16:
	ldr	w27, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_sg_dma_len
	ldr	w8, [x28]
	sub	w9, w0, w25
	cmp	w9, w22
	b.hs	LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	orr	w27, w8, w27
	mov	x0, x23
	bl	_sg_dma_len
	sub	w8, w0, w25
	orr	w0, w27, w8
	bl	_cpu_to_le32
	str	w0, [x24]
	mov	x0, x23
	bl	_sg_dma_address
	add	w0, w0, w25
	bl	_cpu_to_le32
	str	w0, [x24, #4]
	mov	x0, x23
	bl	_sg_dma_len
	add	w8, w25, w22
	sub	w25, w8, w0
	mov	x0, x23
	bl	_sg_next
	mov	x23, x0
	add	x27, x24, #8
	bl	_sg_dma_len
	cmp	w25, w0
	b.ls	LBB0_19
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w24, [x28]
	mov	x0, x23
	bl	_sg_dma_len
	orr	w0, w0, w24
	bl	_cpu_to_le32
	str	w0, [x27]
	mov	x0, x23
	bl	_sg_dma_address
	bl	_cpu_to_le32
	str	w0, [x27, #4]
	mov	x0, x23
	bl	_sg_dma_len
	sub	w25, w25, w0
	mov	x0, x23
	bl	_sg_next
	mov	x23, x0
	add	x27, x27, #8
	bl	_sg_dma_len
	cmp	w25, w0
	b.hi	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x24, x27, #8
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x28]
Lloh17:
	adrp	x9, _RISC_EOL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RISC_EOL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w25
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [x27]
	mov	x0, x23
	bl	_sg_dma_address
	bl	_cpu_to_le32
	str	w0, [x24, #12]
	add	x24, x24, #16
	b	LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh20:
	adrp	x8, _RISC_SOL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RISC_SOL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _RISC_IRQ1@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RISC_IRQ1@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _RISC_CNT_INC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RISC_CNT_INC@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w27, w8, w9
	b	LBB0_15
LBB0_21:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RISC_JUMP,4,2                  ; @RISC_JUMP
	.comm	_NO_SYNC_LINE,4,2               ; @NO_SYNC_LINE
	.comm	_RISC_RESYNC,4,2                ; @RISC_RESYNC
	.comm	_RISC_SOL,4,2                   ; @RISC_SOL
	.comm	_RISC_IRQ1,4,2                  ; @RISC_IRQ1
	.comm	_RISC_CNT_INC,4,2               ; @RISC_CNT_INC
	.comm	_RISC_WRITE,4,2                 ; @RISC_WRITE
	.comm	_RISC_EOL,4,2                   ; @RISC_EOL
	.no_dead_strip	_cx88_risc_field
.subsections_via_symbols
