	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt3_set_tuner_power
_pt3_set_tuner_power:                   ## @pt3_set_tuner_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	l___const.pt3_set_tuner_power.rv+8(%rip), %eax
	movl	%eax, -8(%rbp)
	movq	l___const.pt3_set_tuner_power.rv(%rip), %rax
	movq	%rax, -16(%rbp)
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	$64, -8(%rbp)
	movl	$68, %eax
	testl	%edx, %edx
	je	LBB0_5
LBB0_4:
	movl	%eax, -8(%rbp)
LBB0_5:
	movq	(%rdi), %rax
	movq	_PT3_NUM_FE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	-4(%rax,%rcx,4), %edi
	leaq	-16(%rbp), %rsi
	movl	$1, %edx
	callq	_pt3_demod_write
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_1:
	movl	$4, %eax
	testl	%edx, %edx
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.pt3_set_tuner_power.rv
l___const.pt3_set_tuner_power.rv:
	.long	30                              ## 0x1e
	.long	153                             ## 0x99
	.long	0                               ## 0x0

	.comm	_PT3_NUM_FE,4,2                 ## @PT3_NUM_FE
	.no_dead_strip	_pt3_set_tuner_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt3_set_tuner_power
_pt3_set_tuner_power:                   ; @pt3_set_tuner_power
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, l___const.pt3_set_tuner_power.rv@PAGE
Lloh1:
	add	x8, x8, l___const.pt3_set_tuner_power.rv@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp]
	ldr	w8, [x8, #8]
	str	w8, [sp, #8]
	cbz	w1, LBB0_4
; %bb.1:
	mov	w8, #64
	str	w8, [sp, #8]
	mov	w8, #68
	cbz	w2, LBB0_3
LBB0_2:
	str	w8, [sp, #8]
LBB0_3:
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _PT3_NUM_FE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PT3_NUM_FE@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	mov	x1, sp
	mov	w2, #1
	bl	_pt3_demod_write
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	mov	w8, #4
	cbnz	w2, LBB0_2
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.pt3_set_tuner_power.rv
l___const.pt3_set_tuner_power.rv:
	.long	30                              ; 0x1e
	.long	153                             ; 0x99
	.long	0                               ; 0x0

	.comm	_PT3_NUM_FE,4,2                 ; @PT3_NUM_FE
	.no_dead_strip	_pt3_set_tuner_power
.subsections_via_symbols
