	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_ci_slot_ts_ctl           ## -- Begin function netup_ci_slot_ts_ctl
	.p2align	4, 0x90
_netup_ci_slot_ts_ctl:                  ## @netup_ci_slot_ts_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%rdi), %rbx
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	leaq	-20(%rbp), %r14
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_netup_read_i2c
	orb	$96, -20(%rbp)
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_netup_write_i2c
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_ci_slot_ts_ctl           ; -- Begin function netup_ci_slot_ts_ctl
	.p2align	2
_netup_ci_slot_ts_ctl:                  ; @netup_ci_slot_ts_ctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x19, [x0]
	ldp	w1, w0, [x19]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #1
	bl	_netup_read_i2c
	ldr	w8, [sp, #12]
	orr	w8, w8, #0x60
	str	w8, [sp, #12]
	ldp	w1, w0, [x19]
	add	x3, sp, #12
	mov	w2, #0
	mov	w4, #1
	bl	_netup_write_i2c
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
