	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_bt848
_init_bt848:                            ## @init_bt848
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_bttv_tvcards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_2
## %bb.1:
	movq	_BT848_CAP_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_btwrite
	movq	_BT848_COLOR_CTL_GAMMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BT848_COLOR_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btwrite
	movq	_BT848_IFORM_XTAUTO@GOTPCREL(%rip), %rax
	movq	_BT848_IFORM_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_BT848_IFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btwrite
	movq	_BT848_GPIO_DMA_CTL_PKTP_32@GOTPCREL(%rip), %rax
	movq	_BT848_GPIO_DMA_CTL_PLTP1_16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_BT848_GPIO_DMA_CTL_PLTP23_16@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_BT848_GPIO_DMA_CTL_GPINTC@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_BT848_GPIO_DMA_CTL_GPINTI@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_BT848_GPIO_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btwrite
	movq	_BT848_E_VSCALE_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_btwrite
	movq	_BT848_O_VSCALE_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_btwrite
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_handler_setup
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_init_irqreg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bttv_tvcards,8,3               ## @bttv_tvcards
	.comm	_BT848_CAP_CTL,4,2              ## @BT848_CAP_CTL
	.comm	_BT848_COLOR_CTL_GAMMA,4,2      ## @BT848_COLOR_CTL_GAMMA
	.comm	_BT848_COLOR_CTL,4,2            ## @BT848_COLOR_CTL
	.comm	_BT848_IFORM_XTAUTO,4,2         ## @BT848_IFORM_XTAUTO
	.comm	_BT848_IFORM_AUTO,4,2           ## @BT848_IFORM_AUTO
	.comm	_BT848_IFORM,4,2                ## @BT848_IFORM
	.comm	_BT848_GPIO_DMA_CTL_PKTP_32,4,2 ## @BT848_GPIO_DMA_CTL_PKTP_32
	.comm	_BT848_GPIO_DMA_CTL_PLTP1_16,4,2 ## @BT848_GPIO_DMA_CTL_PLTP1_16
	.comm	_BT848_GPIO_DMA_CTL_PLTP23_16,4,2 ## @BT848_GPIO_DMA_CTL_PLTP23_16
	.comm	_BT848_GPIO_DMA_CTL_GPINTC,4,2  ## @BT848_GPIO_DMA_CTL_GPINTC
	.comm	_BT848_GPIO_DMA_CTL_GPINTI,4,2  ## @BT848_GPIO_DMA_CTL_GPINTI
	.comm	_BT848_GPIO_DMA_CTL,4,2         ## @BT848_GPIO_DMA_CTL
	.comm	_BT848_E_VSCALE_HI,4,2          ## @BT848_E_VSCALE_HI
	.comm	_BT848_O_VSCALE_HI,4,2          ## @BT848_O_VSCALE_HI
	.no_dead_strip	_init_bt848
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_bt848
_init_bt848:                            ; @init_bt848
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _bttv_tvcards@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bttv_tvcards@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BT848_CAP_CTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT848_CAP_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_btwrite
Lloh6:
	adrp	x8, _BT848_COLOR_CTL_GAMMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT848_COLOR_CTL_GAMMA@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _BT848_COLOR_CTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BT848_COLOR_CTL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_btwrite
Lloh12:
	adrp	x8, _BT848_IFORM_XTAUTO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BT848_IFORM_XTAUTO@GOTPAGEOFF]
Lloh14:
	adrp	x9, _BT848_IFORM_AUTO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BT848_IFORM_AUTO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh18:
	adrp	x8, _BT848_IFORM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BT848_IFORM@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_btwrite
Lloh21:
	adrp	x8, _BT848_GPIO_DMA_CTL_PKTP_32@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BT848_GPIO_DMA_CTL_PKTP_32@GOTPAGEOFF]
Lloh23:
	adrp	x9, _BT848_GPIO_DMA_CTL_PLTP1_16@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BT848_GPIO_DMA_CTL_PLTP1_16@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _BT848_GPIO_DMA_CTL_PLTP23_16@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BT848_GPIO_DMA_CTL_PLTP23_16@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _BT848_GPIO_DMA_CTL_GPINTC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _BT848_GPIO_DMA_CTL_GPINTC@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _BT848_GPIO_DMA_CTL_GPINTI@GOTPAGE
Lloh34:
	ldr	x10, [x10, _BT848_GPIO_DMA_CTL_GPINTI@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh35:
	ldr	w9, [x10]
	orr	w0, w8, w9
Lloh36:
	adrp	x8, _BT848_GPIO_DMA_CTL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BT848_GPIO_DMA_CTL@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_btwrite
Lloh39:
	adrp	x8, _BT848_E_VSCALE_HI@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BT848_E_VSCALE_HI@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_btwrite
Lloh42:
	adrp	x8, _BT848_O_VSCALE_HI@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BT848_O_VSCALE_HI@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_btwrite
	mov	x0, x19
	bl	_v4l2_ctrl_handler_setup
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_init_irqreg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bttv_tvcards,8,3               ; @bttv_tvcards
	.comm	_BT848_CAP_CTL,4,2              ; @BT848_CAP_CTL
	.comm	_BT848_COLOR_CTL_GAMMA,4,2      ; @BT848_COLOR_CTL_GAMMA
	.comm	_BT848_COLOR_CTL,4,2            ; @BT848_COLOR_CTL
	.comm	_BT848_IFORM_XTAUTO,4,2         ; @BT848_IFORM_XTAUTO
	.comm	_BT848_IFORM_AUTO,4,2           ; @BT848_IFORM_AUTO
	.comm	_BT848_IFORM,4,2                ; @BT848_IFORM
	.comm	_BT848_GPIO_DMA_CTL_PKTP_32,4,2 ; @BT848_GPIO_DMA_CTL_PKTP_32
	.comm	_BT848_GPIO_DMA_CTL_PLTP1_16,4,2 ; @BT848_GPIO_DMA_CTL_PLTP1_16
	.comm	_BT848_GPIO_DMA_CTL_PLTP23_16,4,2 ; @BT848_GPIO_DMA_CTL_PLTP23_16
	.comm	_BT848_GPIO_DMA_CTL_GPINTC,4,2  ; @BT848_GPIO_DMA_CTL_GPINTC
	.comm	_BT848_GPIO_DMA_CTL_GPINTI,4,2  ; @BT848_GPIO_DMA_CTL_GPINTI
	.comm	_BT848_GPIO_DMA_CTL,4,2         ; @BT848_GPIO_DMA_CTL
	.comm	_BT848_E_VSCALE_HI,4,2          ; @BT848_E_VSCALE_HI
	.comm	_BT848_O_VSCALE_HI,4,2          ; @BT848_O_VSCALE_HI
	.no_dead_strip	_init_bt848
.subsections_via_symbols
