	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_enc_on
_solo_enc_on:                           ## @solo_enc_on
	.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, %rbx
	movl	(%rdi), %r15d
	movq	56(%rdi), %r14
	callq	_solo_update_mode
	movq	(%r14), %rax
	subq	8(%rbx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_5
LBB0_2:
	movq	$0, 48(%rbx)
	movq	%rax, (%r14)
	movq	16(%rbx), %rax
	movq	_SOLO_ENC_TYPE_EXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_SOLO_CAP_CH_COMP_ENA_E
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_solo_reg_write
LBB0_4:
	movl	%r15d, %edi
	callq	_SOLO_CAP_CH_SCALE
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_VE_CH_INTL
	xorl	%edx, %edx
	cmpq	$0, 40(%rbx)
	setne	%dl
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
	movl	24(%rbx), %r13d
	cmpq	$1, 40(%rbx)
	adcl	$-1, %r13d
	movl	%r15d, %edi
	callq	_SOLO_VE_CH_GOP
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_VE_CH_QP
	movl	32(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_CAP_CH_INTV
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_VE_CH_GOP_E
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_VE_CH_QP_E
	movl	32(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_CAP_CH_INTV_E
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_solo_reg_write
	movl	%r15d, %edi
	callq	_SOLO_CAP_CH_SCALE
	movl	36(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_solo_reg_write
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_SOLO_ENC_TYPE_EXT,8,3          ## @SOLO_ENC_TYPE_EXT
	.no_dead_strip	_solo_enc_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_enc_on
_solo_enc_on:                           ; @solo_enc_on
	.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	w21, [x0]
	ldr	x20, [x0, #56]
	bl	_solo_update_mode
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	subs	x8, x9, x8
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	str	xzr, [x19, #48]
	str	x8, [x20]
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _SOLO_ENC_TYPE_EXT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOLO_ENC_TYPE_EXT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_SOLO_CAP_CH_COMP_ENA_E
	mov	x1, x0
	mov	x0, x20
	mov	w2, #1
	bl	_solo_reg_write
LBB0_4:
	mov	x0, x21
	bl	_SOLO_CAP_CH_SCALE
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_VE_CH_INTL
	mov	x1, x0
	ldr	x8, [x19, #40]
	cmp	x8, #0
	cset	w2, ne
	mov	x0, x20
	bl	_solo_reg_write
	ldr	x8, [x19, #40]
	cmp	x8, #0
	cset	w8, ne
	ldr	w9, [x19, #24]
	sub	w22, w9, w8
	mov	x0, x21
	bl	_SOLO_VE_CH_GOP
	mov	x1, x0
	ldr	w2, [x19, #28]
	mov	x0, x20
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_VE_CH_QP
	mov	x1, x0
	ldr	w2, [x19, #32]
	mov	x0, x20
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_CAP_CH_INTV
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_VE_CH_GOP_E
	mov	x1, x0
	ldr	w2, [x19, #28]
	mov	x0, x20
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_VE_CH_QP_E
	mov	x1, x0
	ldr	w2, [x19, #32]
	mov	x0, x20
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_CAP_CH_INTV_E
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_solo_reg_write
	mov	x0, x21
	bl	_SOLO_CAP_CH_SCALE
	mov	x1, x0
	ldr	w2, [x19, #36]
	mov	x0, x20
	bl	_solo_reg_write
	mov	w0, #0
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_SOLO_ENC_TYPE_EXT,8,3          ; @SOLO_ENC_TYPE_EXT
	.no_dead_strip	_solo_enc_on
.subsections_via_symbols
