	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0288_set_tone
_stv0288_set_tone:                      ## @stv0288_set_tone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	cmpl	$129, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.2:
	movl	$5, %esi
	movl	$16, %edx
	jmp	LBB0_3
LBB0_5:
	movl	$5, %esi
	movl	$18, %edx
LBB0_3:
	callq	_stv0288_writeregI
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stv0288_set_tone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0288_set_tone
_stv0288_set_tone:                      ; @stv0288_set_tone
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	cmp	w1, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_6
; %bb.2:
	mov	w1, #5
	mov	w2, #16
	bl	_stv0288_writeregI
	cbnz	w0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w1, #5
	mov	w2, #18
	bl	_stv0288_writeregI
	cbz	w0, LBB0_3
LBB0_5:
Lloh0:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stv0288_set_tone
.subsections_via_symbols
