	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mchip_vrj_setup
_mchip_vrj_setup:                       ## @mchip_vrj_setup
	.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
	movl	%edi, %ebx
	movq	_MCHIP_VRJ_BUS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$5, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$31, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_PDAT_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_IRQ_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$160, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_MODE_SPECIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_NUM_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_mchip_vsize
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_NUM_PIXELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_mchip_hsize
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_NUM_COMPONENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$27, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_LIMIT_COMPRESSED_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_mchip_set
	movq	_MCHIP_VRJ_LIMIT_COMPRESSED_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_mchip_set
	movq	_MCHIP_VRJ_COMP_DATA_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$12, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_RESTART_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_mchip_set
	movq	_MCHIP_VRJ_SOF1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1537, %esi                     ## imm = 0x601
	callq	_mchip_set
	movq	_MCHIP_VRJ_SOF2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$5378, %esi                     ## imm = 0x1502
	callq	_mchip_set
	movq	_MCHIP_VRJ_SOF3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$5379, %esi                     ## imm = 0x1503
	callq	_mchip_set
	movq	_MCHIP_VRJ_SOF4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$5526, %esi                     ## imm = 0x1596
	callq	_mchip_set
	movq	_MCHIP_VRJ_SOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$3792, %esi                     ## imm = 0xED0
	callq	_mchip_set
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mchip_load_tables              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCHIP_VRJ_BUS_MODE,4,2         ## @MCHIP_VRJ_BUS_MODE
	.comm	_MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL,4,2 ## @MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL
	.comm	_MCHIP_VRJ_PDAT_USE,4,2         ## @MCHIP_VRJ_PDAT_USE
	.comm	_MCHIP_VRJ_IRQ_FLAG,4,2         ## @MCHIP_VRJ_IRQ_FLAG
	.comm	_MCHIP_VRJ_MODE_SPECIFY,4,2     ## @MCHIP_VRJ_MODE_SPECIFY
	.comm	_MCHIP_VRJ_NUM_LINES,4,2        ## @MCHIP_VRJ_NUM_LINES
	.comm	_MCHIP_VRJ_NUM_PIXELS,4,2       ## @MCHIP_VRJ_NUM_PIXELS
	.comm	_MCHIP_VRJ_NUM_COMPONENTS,4,2   ## @MCHIP_VRJ_NUM_COMPONENTS
	.comm	_MCHIP_VRJ_LIMIT_COMPRESSED_LO,4,2 ## @MCHIP_VRJ_LIMIT_COMPRESSED_LO
	.comm	_MCHIP_VRJ_LIMIT_COMPRESSED_HI,4,2 ## @MCHIP_VRJ_LIMIT_COMPRESSED_HI
	.comm	_MCHIP_VRJ_COMP_DATA_FORMAT,4,2 ## @MCHIP_VRJ_COMP_DATA_FORMAT
	.comm	_MCHIP_VRJ_RESTART_INTERVAL,4,2 ## @MCHIP_VRJ_RESTART_INTERVAL
	.comm	_MCHIP_VRJ_SOF1,4,2             ## @MCHIP_VRJ_SOF1
	.comm	_MCHIP_VRJ_SOF2,4,2             ## @MCHIP_VRJ_SOF2
	.comm	_MCHIP_VRJ_SOF3,4,2             ## @MCHIP_VRJ_SOF3
	.comm	_MCHIP_VRJ_SOF4,4,2             ## @MCHIP_VRJ_SOF4
	.comm	_MCHIP_VRJ_SOS,4,2              ## @MCHIP_VRJ_SOS
	.no_dead_strip	_mchip_vrj_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mchip_vrj_setup
_mchip_vrj_setup:                       ; @mchip_vrj_setup
	.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, _MCHIP_VRJ_BUS_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCHIP_VRJ_BUS_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #5
	bl	_mchip_set
Lloh3:
	adrp	x8, _MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #31
	bl	_mchip_set
Lloh6:
	adrp	x8, _MCHIP_VRJ_PDAT_USE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCHIP_VRJ_PDAT_USE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_mchip_set
Lloh9:
	adrp	x8, _MCHIP_VRJ_IRQ_FLAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCHIP_VRJ_IRQ_FLAG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #160
	bl	_mchip_set
Lloh12:
	adrp	x8, _MCHIP_VRJ_MODE_SPECIFY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MCHIP_VRJ_MODE_SPECIFY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_mchip_set
Lloh15:
	adrp	x8, _MCHIP_VRJ_NUM_LINES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MCHIP_VRJ_NUM_LINES@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	bl	_mchip_vsize
	mov	x1, x0
	mov	x0, x19
	bl	_mchip_set
Lloh18:
	adrp	x8, _MCHIP_VRJ_NUM_PIXELS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MCHIP_VRJ_NUM_PIXELS@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
	bl	_mchip_hsize
	mov	x1, x0
	mov	x0, x19
	bl	_mchip_set
Lloh21:
	adrp	x8, _MCHIP_VRJ_NUM_COMPONENTS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MCHIP_VRJ_NUM_COMPONENTS@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	w1, #27
	bl	_mchip_set
Lloh24:
	adrp	x8, _MCHIP_VRJ_LIMIT_COMPRESSED_LO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MCHIP_VRJ_LIMIT_COMPRESSED_LO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	w1, #65535
	bl	_mchip_set
Lloh27:
	adrp	x8, _MCHIP_VRJ_LIMIT_COMPRESSED_HI@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MCHIP_VRJ_LIMIT_COMPRESSED_HI@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	w1, #65535
	bl	_mchip_set
Lloh30:
	adrp	x8, _MCHIP_VRJ_COMP_DATA_FORMAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MCHIP_VRJ_COMP_DATA_FORMAT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	w1, #12
	bl	_mchip_set
Lloh33:
	adrp	x8, _MCHIP_VRJ_RESTART_INTERVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MCHIP_VRJ_RESTART_INTERVAL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_mchip_set
Lloh36:
	adrp	x8, _MCHIP_VRJ_SOF1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MCHIP_VRJ_SOF1@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #1537
	bl	_mchip_set
Lloh39:
	adrp	x8, _MCHIP_VRJ_SOF2@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MCHIP_VRJ_SOF2@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	w1, #5378
	bl	_mchip_set
Lloh42:
	adrp	x8, _MCHIP_VRJ_SOF3@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MCHIP_VRJ_SOF3@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	w1, #5379
	bl	_mchip_set
Lloh45:
	adrp	x8, _MCHIP_VRJ_SOF4@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MCHIP_VRJ_SOF4@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	mov	w1, #5526
	bl	_mchip_set
Lloh48:
	adrp	x8, _MCHIP_VRJ_SOS@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MCHIP_VRJ_SOS@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	mov	w1, #3792
	bl	_mchip_set
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mchip_load_tables
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCHIP_VRJ_BUS_MODE,4,2         ; @MCHIP_VRJ_BUS_MODE
	.comm	_MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL,4,2 ; @MCHIP_VRJ_SIGNAL_ACTIVE_LEVEL
	.comm	_MCHIP_VRJ_PDAT_USE,4,2         ; @MCHIP_VRJ_PDAT_USE
	.comm	_MCHIP_VRJ_IRQ_FLAG,4,2         ; @MCHIP_VRJ_IRQ_FLAG
	.comm	_MCHIP_VRJ_MODE_SPECIFY,4,2     ; @MCHIP_VRJ_MODE_SPECIFY
	.comm	_MCHIP_VRJ_NUM_LINES,4,2        ; @MCHIP_VRJ_NUM_LINES
	.comm	_MCHIP_VRJ_NUM_PIXELS,4,2       ; @MCHIP_VRJ_NUM_PIXELS
	.comm	_MCHIP_VRJ_NUM_COMPONENTS,4,2   ; @MCHIP_VRJ_NUM_COMPONENTS
	.comm	_MCHIP_VRJ_LIMIT_COMPRESSED_LO,4,2 ; @MCHIP_VRJ_LIMIT_COMPRESSED_LO
	.comm	_MCHIP_VRJ_LIMIT_COMPRESSED_HI,4,2 ; @MCHIP_VRJ_LIMIT_COMPRESSED_HI
	.comm	_MCHIP_VRJ_COMP_DATA_FORMAT,4,2 ; @MCHIP_VRJ_COMP_DATA_FORMAT
	.comm	_MCHIP_VRJ_RESTART_INTERVAL,4,2 ; @MCHIP_VRJ_RESTART_INTERVAL
	.comm	_MCHIP_VRJ_SOF1,4,2             ; @MCHIP_VRJ_SOF1
	.comm	_MCHIP_VRJ_SOF2,4,2             ; @MCHIP_VRJ_SOF2
	.comm	_MCHIP_VRJ_SOF3,4,2             ; @MCHIP_VRJ_SOF3
	.comm	_MCHIP_VRJ_SOF4,4,2             ; @MCHIP_VRJ_SOF4
	.comm	_MCHIP_VRJ_SOS,4,2              ; @MCHIP_VRJ_SOS
	.no_dead_strip	_mchip_vrj_setup
.subsections_via_symbols
