	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cafe_ctlr_dma
_cafe_ctlr_dma:                         ## @cafe_ctlr_dma
	.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, %rbx
	movq	_REG_Y0BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rdi), %rax
	movl	(%rax), %edx
	callq	_cafe_reg_write
	movq	_REG_Y1BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_cafe_reg_write
	cmpl	$3, (%rbx)
	jl	LBB0_2
## %bb.1:
	movq	_REG_Y2BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_cafe_reg_write
	movq	_REG_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_C1_TWOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_cafe_reg_clear_bit
	jmp	LBB0_3
LBB0_2:
	movq	_REG_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_C1_TWOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_cafe_reg_set_bit
LBB0_3:
	movq	_REG_UBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cafe_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_Y0BAR,4,2                  ## @REG_Y0BAR
	.comm	_REG_Y1BAR,4,2                  ## @REG_Y1BAR
	.comm	_REG_Y2BAR,4,2                  ## @REG_Y2BAR
	.comm	_REG_CTRL1,4,2                  ## @REG_CTRL1
	.comm	_C1_TWOBUFS,4,2                 ## @C1_TWOBUFS
	.comm	_REG_UBAR,4,2                   ## @REG_UBAR
	.no_dead_strip	_cafe_ctlr_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cafe_ctlr_dma
_cafe_ctlr_dma:                         ; @cafe_ctlr_dma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_Y0BAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_Y0BAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x0, #8]
	ldr	w2, [x8]
	bl	_cafe_reg_write
Lloh3:
	adrp	x8, _REG_Y1BAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_Y1BAR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_cafe_reg_write
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _REG_Y2BAR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_Y2BAR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_cafe_reg_write
Lloh9:
	adrp	x8, _REG_CTRL1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_CTRL1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _C1_TWOBUFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _C1_TWOBUFS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_reg_clear_bit
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _REG_CTRL1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_CTRL1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _C1_TWOBUFS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _C1_TWOBUFS@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cafe_reg_set_bit
LBB0_3:
Lloh21:
	adrp	x8, _REG_UBAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_UBAR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cafe_reg_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_Y0BAR,4,2                  ; @REG_Y0BAR
	.comm	_REG_Y1BAR,4,2                  ; @REG_Y1BAR
	.comm	_REG_Y2BAR,4,2                  ; @REG_Y2BAR
	.comm	_REG_CTRL1,4,2                  ; @REG_CTRL1
	.comm	_C1_TWOBUFS,4,2                 ; @C1_TWOBUFS
	.comm	_REG_UBAR,4,2                   ; @REG_UBAR
	.no_dead_strip	_cafe_ctlr_dma
.subsections_via_symbols
