	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_dvb_bus_ctrl
_pvr2_dvb_bus_ctrl:                     ## @pvr2_dvb_bus_ctrl
	.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), %rax
	movq	_PVR2_CVAL_INPUT_DTV@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%rax), %rdi
	testl	%esi, %esi
	cmovnel	%edx, %esi
	popq	%rbp
	jmp	_pvr2_channel_limit_inputs      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PVR2_CVAL_INPUT_DTV,4,2        ## @PVR2_CVAL_INPUT_DTV
	.no_dead_strip	_pvr2_dvb_bus_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_dvb_bus_ctrl
_pvr2_dvb_bus_ctrl:                     ; @pvr2_dvb_bus_ctrl
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x0, [x8]
Lloh0:
	adrp	x8, _PVR2_CVAL_INPUT_DTV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PVR2_CVAL_INPUT_DTV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w1, #0
	csel	w1, wzr, w8, eq
	b	_pvr2_channel_limit_inputs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PVR2_CVAL_INPUT_DTV,4,2        ; @PVR2_CVAL_INPUT_DTV
	.no_dead_strip	_pvr2_dvb_bus_ctrl
.subsections_via_symbols
