	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpx3220_s_ctrl
_vpx3220_s_ctrl:                        ## @vpx3220_s_ctrl
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_to_vpx3220
	movl	(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	4(%rbx), %edx
	xorl	%r14d, %r14d
	cmpl	%edx, 4(%rax)
	je	LBB0_12
## %bb.3:
	movl	%edx, 4(%rax)
	movq	%r15, %rdi
	movl	$160, %esi
	jmp	LBB0_11
LBB0_4:
	movl	4(%rbx), %edx
	xorl	%r14d, %r14d
	cmpl	%edx, 8(%rax)
	je	LBB0_12
## %bb.5:
	movl	%edx, 8(%rax)
	addl	$192, %edx
	movq	%r15, %rdi
	movl	$231, %esi
	callq	_vpx3220_write
	jmp	LBB0_12
LBB0_6:
	movl	4(%rbx), %edx
	xorl	%r14d, %r14d
	cmpl	%edx, 12(%rax)
	je	LBB0_12
## %bb.7:
	movl	%edx, 12(%rax)
	movq	%r15, %rdi
	movl	$230, %esi
	callq	_vpx3220_write
	jmp	LBB0_12
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_9:
	movl	4(%rbx), %edx
	xorl	%r14d, %r14d
	cmpl	%edx, (%rax)
	je	LBB0_12
## %bb.10:
	movl	%edx, (%rax)
	movq	%r15, %rdi
	movl	$28, %esi
LBB0_11:
	callq	_vpx3220_fp_write
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vpx3220_s_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpx3220_s_ctrl
_vpx3220_s_ctrl:                        ; @vpx3220_s_ctrl
	.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	x20, x1
	mov	x19, x0
	bl	_to_vpx3220
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x0, #4]
	ldr	w2, [x20, #4]
	cmp	w8, w2
	b.eq	LBB0_13
; %bb.3:
	str	w2, [x0, #4]
	mov	x0, x19
	mov	w1, #160
	b	LBB0_12
LBB0_4:
	ldr	w9, [x0, #8]
	ldr	w8, [x20, #4]
	cmp	w9, w8
	b.eq	LBB0_13
; %bb.5:
	str	w8, [x0, #8]
	add	w2, w8, #192
	mov	x0, x19
	mov	w1, #231
	b	LBB0_8
LBB0_6:
	ldr	w8, [x0, #12]
	ldr	w2, [x20, #4]
	cmp	w8, w2
	b.eq	LBB0_13
; %bb.7:
	str	w2, [x0, #12]
	mov	x0, x19
	mov	w1, #230
LBB0_8:
	bl	_vpx3220_write
	b	LBB0_13
LBB0_9:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_10:
	ldr	w8, [x0]
	ldr	w2, [x20, #4]
	cmp	w8, w2
	b.eq	LBB0_13
; %bb.11:
	str	w2, [x0]
	mov	x0, x19
	mov	w1, #28
LBB0_12:
	bl	_vpx3220_fp_write
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vpx3220_s_ctrl
.subsections_via_symbols
