	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_accumulator_set
_em28xx_accumulator_set:                ## @em28xx_accumulator_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edx, %eax
	movq	%rdi, %rbx
	movl	%esi, -24(%rbp)
	movl	%edx, -20(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -12(%rbp)
	leaq	L_.str(%rip), %rdi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_em28xx_videodbg
	movq	_EM28XX_R28_XMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_em28xx_write_regs
	movq	_EM28XX_R29_XMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_em28xx_write_regs
	movq	_EM28XX_R2A_YMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_em28xx_write_regs
	movq	_EM28XX_R2B_YMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_em28xx_write_regs
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"em28xx Scale: (%d,%d)-(%d,%d)\n"

	.comm	_EM28XX_R28_XMIN,4,2            ## @EM28XX_R28_XMIN
	.comm	_EM28XX_R29_XMAX,4,2            ## @EM28XX_R29_XMAX
	.comm	_EM28XX_R2A_YMIN,4,2            ## @EM28XX_R2A_YMIN
	.comm	_EM28XX_R2B_YMAX,4,2            ## @EM28XX_R2B_YMAX
	.no_dead_strip	_em28xx_accumulator_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_accumulator_set
_em28xx_accumulator_set:                ; @em28xx_accumulator_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x19, x0
	stp	w2, w1, [sp, #8]
	stp	w4, w3, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x3
	mov	x3, x8
	bl	_em28xx_videodbg
Lloh2:
	adrp	x8, _EM28XX_R28_XMIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EM28XX_R28_XMIN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	bl	_em28xx_write_regs
Lloh5:
	adrp	x8, _EM28XX_R29_XMAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EM28XX_R29_XMAX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	bl	_em28xx_write_regs
Lloh8:
	adrp	x8, _EM28XX_R2A_YMIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EM28XX_R2A_YMIN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #4
	mov	x0, x19
	mov	w3, #1
	bl	_em28xx_write_regs
Lloh11:
	adrp	x8, _EM28XX_R2B_YMAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EM28XX_R2B_YMAX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #1
	bl	_em28xx_write_regs
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"em28xx Scale: (%d,%d)-(%d,%d)\n"

	.comm	_EM28XX_R28_XMIN,4,2            ; @EM28XX_R28_XMIN
	.comm	_EM28XX_R29_XMAX,4,2            ; @EM28XX_R29_XMAX
	.comm	_EM28XX_R2A_YMIN,4,2            ; @EM28XX_R2A_YMIN
	.comm	_EM28XX_R2B_YMAX,4,2            ; @EM28XX_R2B_YMAX
	.no_dead_strip	_em28xx_accumulator_set
.subsections_via_symbols
