	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_mp4e_config
_solo_mp4e_config:                      ## @solo_mp4e_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SOLO_VE_CFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IRQ_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SOLO_VE_INTR_CTRL
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_SOLO_MP4E_EXT_SIZE
	sarl	$16, %eax
	movl	%eax, %edi
	callq	_SOLO_VE_BLOCK_SIZE
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_SOLO_MP4E_EXT_ADDR
	sarl	$16, %eax
	movl	%eax, %edi
	callq	_SOLO_VE_BLOCK_BASE
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_solo_reg_write
	movl	$2, %edi
	callq	_SOLO_VE_BYTE_ALIGN
	movl	%eax, %ebx
	movq	_SOLO_VE_INSERT_INDEX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_SOLO_VE_MOTION_MODE
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movq	(%r14), %rax
	movq	_SOLO_DEV_6010@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_SOLO_MP4E_EXT_SIZE
	shrl	$24, %eax
	andl	$15, %eax
	movl	%eax, %edi
	callq	_SOLO_VE_MPEG_SIZE_H
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_SOLO_JPEG_EXT_SIZE
	shrl	$24, %eax
	andl	$15, %eax
	movl	%eax, %edi
	callq	_SOLO_VE_JPEG_SIZE_H
	movl	%eax, %r15d
	orl	%ebx, %r15d
LBB0_2:
	movq	_SOLO_VE_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_WMRK_POLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_VMRK_INIT_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_WMRK_STRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movq	(%r14), %rax
	movq	_SOLO_DEV_6110@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_SOLO_VE_WMRK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
LBB0_4:
	movq	_SOLO_VE_ENCRYP_POLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_ENCRYP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movq	_SOLO_VE_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SOLO_VE_LITTLE_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$1, %edi
	callq	_SOLO_COMP_ATTR_FCODE
	movl	%eax, %r12d
	xorl	%edi, %edi
	callq	_SOLO_COMP_TIME_INC
	orl	%eax, %r12d
	movl	$15, %edi
	callq	_SOLO_COMP_TIME_WIDTH
	orl	%eax, %r12d
	orl	%r13d, %r12d
	movq	(%r14), %rax
	xorl	%ecx, %ecx
	movq	_SOLO_DEV_6010@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%cl
	movl	$10, %edi
	subl	%ecx, %edi
	callq	_SOLO_DCT_INTERVAL
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_solo_reg_write
	movl	8(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	movq	_SOLO_EREF_EXT_SIZE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_SOLO_VE_CH_REF_BASE
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_SOLO_EREF_EXT_ADDR
	movl	(%r12), %edx
	imull	%ebx, %edx
	addl	%eax, %edx
	sarl	$16, %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_solo_reg_write
	movl	%ebx, %edi
	callq	_SOLO_VE_CH_REF_BASE_E
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_SOLO_EREF_EXT_ADDR
	leal	16(%rbx), %edx
	imull	(%r12), %edx
	addl	%eax, %edx
	sarl	$16, %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_solo_reg_write
	incl	%ebx
	movl	8(%r14), %eax
	cmpl	%eax, %ebx
	jl	LBB0_6
LBB0_7:
	movq	(%r14), %rcx
	movq	_SOLO_DEV_6110@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.12:
	movq	_SOLO_VE_COMPT_MOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$262152, %edx                   ## imm = 0x40008
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_solo_reg_write                 ## TAILCALL
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_SOLO_VE_CH_MOT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_solo_reg_write
	incl	%ebx
	cmpl	8(%r14), %ebx
	jl	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLO_VE_CFG0,4,2               ## @SOLO_VE_CFG0
	.comm	_IRQ_LEVEL,4,2                  ## @IRQ_LEVEL
	.comm	_SOLO_VE_INSERT_INDEX,4,2       ## @SOLO_VE_INSERT_INDEX
	.comm	_SOLO_DEV_6010,8,3              ## @SOLO_DEV_6010
	.comm	_SOLO_VE_CFG1,4,2               ## @SOLO_VE_CFG1
	.comm	_SOLO_VE_WMRK_POLY,4,2          ## @SOLO_VE_WMRK_POLY
	.comm	_SOLO_VE_VMRK_INIT_KEY,4,2      ## @SOLO_VE_VMRK_INIT_KEY
	.comm	_SOLO_VE_WMRK_STRL,4,2          ## @SOLO_VE_WMRK_STRL
	.comm	_SOLO_DEV_6110,8,3              ## @SOLO_DEV_6110
	.comm	_SOLO_VE_WMRK_ENABLE,4,2        ## @SOLO_VE_WMRK_ENABLE
	.comm	_SOLO_VE_ENCRYP_POLY,4,2        ## @SOLO_VE_ENCRYP_POLY
	.comm	_SOLO_VE_ENCRYP_INIT,4,2        ## @SOLO_VE_ENCRYP_INIT
	.comm	_SOLO_VE_ATTR,4,2               ## @SOLO_VE_ATTR
	.comm	_SOLO_VE_LITTLE_ENDIAN,4,2      ## @SOLO_VE_LITTLE_ENDIAN
	.comm	_SOLO_EREF_EXT_SIZE,4,2         ## @SOLO_EREF_EXT_SIZE
	.comm	_SOLO_VE_COMPT_MOT,4,2          ## @SOLO_VE_COMPT_MOT
	.no_dead_strip	_solo_mp4e_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_mp4e_config
_solo_mp4e_config:                      ; @solo_mp4e_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SOLO_VE_CFG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOLO_VE_CFG0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _IRQ_LEVEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SOLO_VE_INTR_CTRL
	mov	x21, x0
	mov	x0, x19
	bl	_SOLO_MP4E_EXT_SIZE
	asr	w0, w0, #16
	bl	_SOLO_VE_BLOCK_SIZE
	orr	w21, w0, w21
	mov	x0, x19
	bl	_SOLO_MP4E_EXT_ADDR
	asr	w0, w0, #16
	bl	_SOLO_VE_BLOCK_BASE
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
	mov	w0, #2
	bl	_SOLO_VE_BYTE_ALIGN
Lloh6:
	adrp	x8, _SOLO_VE_INSERT_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOLO_VE_INSERT_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w20, w8, w0
	mov	w0, #0
	bl	_SOLO_VE_MOTION_MODE
	orr	w20, w20, w0
	ldr	x8, [x19]
Lloh9:
	adrp	x21, _SOLO_DEV_6010@GOTPAGE
Lloh10:
	ldr	x21, [x21, _SOLO_DEV_6010@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SOLO_MP4E_EXT_SIZE
	ubfx	w0, w0, #24, #4
	bl	_SOLO_VE_MPEG_SIZE_H
	orr	w20, w0, w20
	mov	x0, x19
	bl	_SOLO_JPEG_EXT_SIZE
	ubfx	w0, w0, #24, #4
	bl	_SOLO_VE_JPEG_SIZE_H
	orr	w20, w20, w0
LBB0_2:
Lloh11:
	adrp	x8, _SOLO_VE_CFG1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOLO_VE_CFG1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_solo_reg_write
Lloh14:
	adrp	x8, _SOLO_VE_WMRK_POLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SOLO_VE_WMRK_POLY@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
Lloh17:
	adrp	x8, _SOLO_VE_VMRK_INIT_KEY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SOLO_VE_VMRK_INIT_KEY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
Lloh20:
	adrp	x8, _SOLO_VE_WMRK_STRL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SOLO_VE_WMRK_STRL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
	ldr	x8, [x19]
Lloh23:
	adrp	x22, _SOLO_DEV_6110@GOTPAGE
Lloh24:
	ldr	x22, [x22, _SOLO_DEV_6110@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh25:
	adrp	x8, _SOLO_VE_WMRK_ENABLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SOLO_VE_WMRK_ENABLE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
LBB0_4:
Lloh28:
	adrp	x8, _SOLO_VE_ENCRYP_POLY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SOLO_VE_ENCRYP_POLY@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
Lloh31:
	adrp	x8, _SOLO_VE_ENCRYP_INIT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SOLO_VE_ENCRYP_INIT@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_solo_reg_write
Lloh34:
	adrp	x8, _SOLO_VE_ATTR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SOLO_VE_ATTR@GOTPAGEOFF]
Lloh36:
	ldr	w20, [x8]
Lloh37:
	adrp	x8, _SOLO_VE_LITTLE_ENDIAN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SOLO_VE_LITTLE_ENDIAN@GOTPAGEOFF]
Lloh39:
	ldr	w23, [x8]
	mov	w0, #1
	bl	_SOLO_COMP_ATTR_FCODE
	orr	w23, w0, w23
	mov	w0, #0
	bl	_SOLO_COMP_TIME_INC
	orr	w23, w23, w0
	mov	w0, #15
	bl	_SOLO_COMP_TIME_WIDTH
	orr	w23, w23, w0
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	mov	w8, #9
	cinc	w0, w8, ne
	bl	_SOLO_DCT_INTERVAL
	orr	w2, w23, w0
	mov	x0, x19
	mov	x1, x20
	bl	_solo_reg_write
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w20, #0
Lloh40:
	adrp	x23, _SOLO_EREF_EXT_SIZE@GOTPAGE
Lloh41:
	ldr	x23, [x23, _SOLO_EREF_EXT_SIZE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_SOLO_VE_CH_REF_BASE
	mov	x21, x0
	mov	x0, x19
	bl	_SOLO_EREF_EXT_ADDR
	ldr	w8, [x23]
	madd	w8, w8, w20, w0
	asr	w2, w8, #16
	mov	x0, x19
	mov	x1, x21
	bl	_solo_reg_write
	mov	x0, x20
	bl	_SOLO_VE_CH_REF_BASE_E
	mov	x21, x0
	mov	x0, x19
	bl	_SOLO_EREF_EXT_ADDR
	add	w8, w20, #16
	ldr	w9, [x23]
	madd	w8, w9, w8, w0
	asr	w2, w8, #16
	mov	x0, x19
	mov	x1, x21
	bl	_solo_reg_write
	add	w20, w20, #1
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
	ldr	x9, [x19]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.8:
Lloh42:
	adrp	x8, _SOLO_VE_COMPT_MOT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SOLO_VE_COMPT_MOT@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	movk	w2, #4, lsl #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_solo_reg_write
LBB0_9:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	w20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_SOLO_VE_CH_MOT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #256
	bl	_solo_reg_write
	add	w20, w20, #1
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.lt	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLO_VE_CFG0,4,2               ; @SOLO_VE_CFG0
	.comm	_IRQ_LEVEL,4,2                  ; @IRQ_LEVEL
	.comm	_SOLO_VE_INSERT_INDEX,4,2       ; @SOLO_VE_INSERT_INDEX
	.comm	_SOLO_DEV_6010,8,3              ; @SOLO_DEV_6010
	.comm	_SOLO_VE_CFG1,4,2               ; @SOLO_VE_CFG1
	.comm	_SOLO_VE_WMRK_POLY,4,2          ; @SOLO_VE_WMRK_POLY
	.comm	_SOLO_VE_VMRK_INIT_KEY,4,2      ; @SOLO_VE_VMRK_INIT_KEY
	.comm	_SOLO_VE_WMRK_STRL,4,2          ; @SOLO_VE_WMRK_STRL
	.comm	_SOLO_DEV_6110,8,3              ; @SOLO_DEV_6110
	.comm	_SOLO_VE_WMRK_ENABLE,4,2        ; @SOLO_VE_WMRK_ENABLE
	.comm	_SOLO_VE_ENCRYP_POLY,4,2        ; @SOLO_VE_ENCRYP_POLY
	.comm	_SOLO_VE_ENCRYP_INIT,4,2        ; @SOLO_VE_ENCRYP_INIT
	.comm	_SOLO_VE_ATTR,4,2               ; @SOLO_VE_ATTR
	.comm	_SOLO_VE_LITTLE_ENDIAN,4,2      ; @SOLO_VE_LITTLE_ENDIAN
	.comm	_SOLO_EREF_EXT_SIZE,4,2         ; @SOLO_EREF_EXT_SIZE
	.comm	_SOLO_VE_COMPT_MOT,4,2          ; @SOLO_VE_COMPT_MOT
	.no_dead_strip	_solo_mp4e_config
.subsections_via_symbols
