	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pas106b_set_ctrl
_pas106b_set_ctrl:                      ## @pas106b_set_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
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$12, %esi
	jmp	LBB0_6
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_8:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$14, %esi
	jmp	LBB0_6
LBB0_2:
	movl	4(%rbx), %edx
	sarl	$4, %edx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_sn9c102_i2c_write
	movq	%rax, %r15
	movl	4(%rbx), %edx
	andl	$15, %edx
	movq	%r14, %rdi
	movl	$4, %esi
	jmp	LBB0_3
LBB0_9:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$15, %esi
	jmp	LBB0_6
LBB0_7:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movl	$9, %esi
	jmp	LBB0_6
LBB0_10:
	movl	4(%rbx), %edx
	sarl	%edx
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_sn9c102_i2c_write
	movq	%rax, %r15
	movl	4(%rbx), %edx
	sarl	%edx
	movq	%r14, %rdi
	movl	$11, %esi
LBB0_3:
	callq	_sn9c102_i2c_write
	movslq	%r15d, %rbx
	addq	%rax, %rbx
	jmp	LBB0_4
LBB0_11:
	movl	4(%rbx), %edx
	shll	$3, %edx
	movq	%r14, %rdi
	movl	$8, %esi
LBB0_6:
	callq	_sn9c102_i2c_write
	movq	%rax, %rbx
LBB0_4:
	movq	%r14, %rdi
	movl	$19, %esi
	movl	$1, %edx
	callq	_sn9c102_i2c_write
	movq	%rax, %rcx
	movq	_EIO@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	xorl	%edx, %edx
	addl	%ecx, %ebx
	cmovel	%edx, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_pas106b_set_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pas106b_set_ctrl
_pas106b_set_ctrl:                      ; @pas106b_set_ctrl
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
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	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #12
	b	LBB0_11
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_4:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #14
	b	LBB0_11
LBB0_5:
	ldr	w8, [x20, #4]
	asr	w2, w8, #4
	mov	x0, x19
	mov	w1, #3
	bl	_sn9c102_i2c_write
	mov	x21, x0
	ldr	w8, [x20, #4]
	and	w2, w8, #0xf
	mov	x0, x19
	mov	w1, #4
	b	LBB0_9
LBB0_6:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #15
	b	LBB0_11
LBB0_7:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #9
	b	LBB0_11
LBB0_8:
	ldr	w8, [x20, #4]
	asr	w2, w8, #1
	mov	x0, x19
	mov	w1, #10
	bl	_sn9c102_i2c_write
	mov	x21, x0
	ldr	w8, [x20, #4]
	asr	w2, w8, #1
	mov	x0, x19
	mov	w1, #11
LBB0_9:
	bl	_sn9c102_i2c_write
	add	x20, x0, w21, sxtw
	b	LBB0_12
LBB0_10:
	ldr	w8, [x20, #4]
	lsl	w2, w8, #3
	mov	x0, x19
	mov	w1, #8
LBB0_11:
	bl	_sn9c102_i2c_write
	mov	x20, x0
LBB0_12:
	mov	x0, x19
	mov	w1, #19
	mov	w2, #1
	bl	_sn9c102_i2c_write
	cmn	w0, w20
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	csneg	w0, wzr, w8, eq
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_pas106b_set_ctrl
.subsections_via_symbols
