	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function channel3_raw_enable
_channel3_raw_enable:                   ## @channel3_raw_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1, %esi
	jne	LBB0_1
## %bb.2:
	movq	_VPIF_CH_VANC_EN_BIT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VPIF_CH_HANC_EN_BIT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	_VPIF_CH3_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edi, %edi
	je	LBB0_5
## %bb.4:
	movl	%eax, %edi
	popq	%rbp
	jmp	_vpif_set_bit                   ## TAILCALL
LBB0_5:
	movl	%eax, %edi
	popq	%rbp
	jmp	_vpif_clr_bit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPIF_CH_VANC_EN_BIT,4,2        ## @VPIF_CH_VANC_EN_BIT
	.comm	_VPIF_CH_HANC_EN_BIT,4,2        ## @VPIF_CH_HANC_EN_BIT
	.comm	_VPIF_CH3_CTRL,4,2              ## @VPIF_CH3_CTRL
	.no_dead_strip	_channel3_raw_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function channel3_raw_enable
_channel3_raw_enable:                   ; @channel3_raw_enable
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _VPIF_CH_VANC_EN_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPIF_CH_VANC_EN_BIT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _VPIF_CH_HANC_EN_BIT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VPIF_CH_HANC_EN_BIT@GOTPAGEOFF]
	cmp	w1, #1
	csel	x9, x9, x10, eq
	ldr	w1, [x9]
Lloh4:
	adrp	x9, _VPIF_CH3_CTRL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _VPIF_CH3_CTRL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	b	_vpif_set_bit
LBB0_2:
	b	_vpif_clr_bit
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VPIF_CH_VANC_EN_BIT,4,2        ; @VPIF_CH_VANC_EN_BIT
	.comm	_VPIF_CH_HANC_EN_BIT,4,2        ; @VPIF_CH_HANC_EN_BIT
	.comm	_VPIF_CH3_CTRL,4,2              ; @VPIF_CH3_CTRL
	.no_dead_strip	_channel3_raw_enable
.subsections_via_symbols
