	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_jpeg_config
_solo_jpeg_config:                      ## @solo_jpeg_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_SOLO_DEV_6010@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_SOLO_VE_JPEG_QP_TBL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$33686018, %eax                 ## imm = 0x2020202
	movl	$67305985, %edx                 ## imm = 0x4030201
	cmovel	%eax, %edx
	callq	_solo_reg_write
	leaq	16(%r15), %rdi
	callq	_spin_lock_init
	movq	_SOLO_QP_INIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	%eax, (%rcx)
	movq	_SOLO_VE_JPEG_QP_CH_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_solo_reg_write
	movq	_SOLO_VE_JPEG_QP_CH_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_solo_reg_write
	movq	_SOLO_VE_JPEG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_SOLO_JPEG_EXT_SIZE
	movl	%eax, %ebx
	andl	$-65536, %ebx                   ## imm = 0xFFFF0000
	movq	%r15, %rdi
	callq	_SOLO_JPEG_EXT_ADDR
	shrl	$16, %eax
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_JPEG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_solo_reg_write
	movq	(%r15), %rax
	movq	_SOLO_DEV_6110@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_SOLO_VE_JPEG_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$7740, %edx                     ## imm = 0x1E3C
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_reg_write                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLO_DEV_6010,8,3              ## @SOLO_DEV_6010
	.comm	_SOLO_VE_JPEG_QP_TBL,4,2        ## @SOLO_VE_JPEG_QP_TBL
	.comm	_SOLO_QP_INIT,4,2               ## @SOLO_QP_INIT
	.comm	_SOLO_VE_JPEG_QP_CH_L,4,2       ## @SOLO_VE_JPEG_QP_CH_L
	.comm	_SOLO_VE_JPEG_QP_CH_H,4,2       ## @SOLO_VE_JPEG_QP_CH_H
	.comm	_SOLO_VE_JPEG_CFG,4,2           ## @SOLO_VE_JPEG_CFG
	.comm	_SOLO_VE_JPEG_CTRL,4,2          ## @SOLO_VE_JPEG_CTRL
	.comm	_SOLO_DEV_6110,8,3              ## @SOLO_DEV_6110
	.comm	_SOLO_VE_JPEG_CFG1,4,2          ## @SOLO_VE_JPEG_CFG1
	.no_dead_strip	_solo_jpeg_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_jpeg_config
_solo_jpeg_config:                      ; @solo_jpeg_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SOLO_DEV_6010@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOLO_DEV_6010@GOTPAGEOFF]
Lloh2:
	adrp	x10, _SOLO_VE_JPEG_QP_TBL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SOLO_VE_JPEG_QP_TBL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	w1, [x10]
	cmp	x8, x9
	mov	w8, #513
	movk	w8, #1027, lsl #16
	mov	w9, #33686018
	csel	w2, w9, w8, eq
	bl	_solo_reg_write
	add	x0, x19, #16
	bl	_spin_lock_init
Lloh6:
	adrp	x20, _SOLO_QP_INIT@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SOLO_QP_INIT@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	x9, [x19, #8]
	stp	w8, w8, [x9]
Lloh8:
	adrp	x8, _SOLO_VE_JPEG_QP_CH_L@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOLO_VE_JPEG_QP_CH_L@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_solo_reg_write
Lloh11:
	adrp	x8, _SOLO_VE_JPEG_QP_CH_H@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOLO_VE_JPEG_QP_CH_H@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_solo_reg_write
Lloh14:
	adrp	x8, _SOLO_VE_JPEG_CFG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SOLO_VE_JPEG_CFG@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_SOLO_JPEG_EXT_SIZE
	mov	x21, x0
	mov	x0, x19
	bl	_SOLO_JPEG_EXT_ADDR
	bfxil	w21, w0, #16, #16
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_solo_reg_write
Lloh17:
	adrp	x8, _SOLO_VE_JPEG_CTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SOLO_VE_JPEG_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_solo_reg_write
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _SOLO_DEV_6110@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SOLO_DEV_6110@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh23:
	adrp	x8, _SOLO_VE_JPEG_CFG1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SOLO_VE_JPEG_CFG1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #7740
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_solo_reg_write
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLO_DEV_6010,8,3              ; @SOLO_DEV_6010
	.comm	_SOLO_VE_JPEG_QP_TBL,4,2        ; @SOLO_VE_JPEG_QP_TBL
	.comm	_SOLO_QP_INIT,4,2               ; @SOLO_QP_INIT
	.comm	_SOLO_VE_JPEG_QP_CH_L,4,2       ; @SOLO_VE_JPEG_QP_CH_L
	.comm	_SOLO_VE_JPEG_QP_CH_H,4,2       ; @SOLO_VE_JPEG_QP_CH_H
	.comm	_SOLO_VE_JPEG_CFG,4,2           ; @SOLO_VE_JPEG_CFG
	.comm	_SOLO_VE_JPEG_CTRL,4,2          ; @SOLO_VE_JPEG_CTRL
	.comm	_SOLO_DEV_6110,8,3              ; @SOLO_DEV_6110
	.comm	_SOLO_VE_JPEG_CFG1,4,2          ; @SOLO_VE_JPEG_CFG1
	.no_dead_strip	_solo_jpeg_config
.subsections_via_symbols
