	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_norm
_determine_norm:                        ## @determine_norm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ADV7180_STATUS1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
                                        ## kill: def $eax killed $eax def $rax
	movq	_ADV7180_STATUS1_AUTOD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_V4L2_STD_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movq	_V4L2_STD_PAL_M@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_V4L2_STD_PAL_Nc@GOTPCREL(%rip), %rcx
	movq	_V4L2_STD_PAL_N@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_V4L2_STD_PAL_60@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_V4L2_STD_NTSC_M_JP@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_V4L2_STD_NTSC_443@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ADV7180_STATUS1_REG,4,2        ## @ADV7180_STATUS1_REG
	.comm	_ADV7180_STATUS1_AUTOD_MASK,4,2 ## @ADV7180_STATUS1_AUTOD_MASK
	.comm	_V4L2_STD_NTSC_M_JP,4,2         ## @V4L2_STD_NTSC_M_JP
	.comm	_V4L2_STD_NTSC_443,4,2          ## @V4L2_STD_NTSC_443
	.comm	_V4L2_STD_PAL_M,4,2             ## @V4L2_STD_PAL_M
	.comm	_V4L2_STD_PAL_60,4,2            ## @V4L2_STD_PAL_60
	.comm	_V4L2_STD_PAL,4,2               ## @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
	.comm	_V4L2_STD_PAL_Nc,4,2            ## @V4L2_STD_PAL_Nc
	.comm	_V4L2_STD_PAL_N,4,2             ## @V4L2_STD_PAL_N
	.comm	_V4L2_STD_UNKNOWN,4,2           ## @V4L2_STD_UNKNOWN
	.no_dead_strip	_determine_norm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_norm
_determine_norm:                        ; @determine_norm
	.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
Lloh0:
	adrp	x8, _ADV7180_STATUS1_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADV7180_STATUS1_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
Lloh3:
	adrp	x8, _ADV7180_STATUS1_AUTOD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV7180_STATUS1_AUTOD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh8:
	adrp	x8, _V4L2_STD_SECAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_STD_SECAM@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
Lloh10:
	adrp	x8, _V4L2_STD_UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_STD_UNKNOWN@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh12:
	adrp	x8, _V4L2_STD_PAL_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_STD_PAL_M@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh14:
	adrp	x8, _V4L2_STD_PAL_Nc@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_STD_PAL_Nc@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _V4L2_STD_PAL_N@GOTPAGE
Lloh18:
	ldr	x9, [x9, _V4L2_STD_PAL_N@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh20:
	adrp	x8, _V4L2_STD_PAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_STD_PAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh22:
	adrp	x8, _V4L2_STD_PAL_60@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_STD_PAL_60@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh24:
	adrp	x8, _V4L2_STD_NTSC_M_JP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_STD_NTSC_M_JP@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh26:
	adrp	x8, _V4L2_STD_NTSC_443@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V4L2_STD_NTSC_443@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_ADV7180_STATUS1_REG,4,2        ; @ADV7180_STATUS1_REG
	.comm	_ADV7180_STATUS1_AUTOD_MASK,4,2 ; @ADV7180_STATUS1_AUTOD_MASK
	.comm	_V4L2_STD_NTSC_M_JP,4,2         ; @V4L2_STD_NTSC_M_JP
	.comm	_V4L2_STD_NTSC_443,4,2          ; @V4L2_STD_NTSC_443
	.comm	_V4L2_STD_PAL_M,4,2             ; @V4L2_STD_PAL_M
	.comm	_V4L2_STD_PAL_60,4,2            ; @V4L2_STD_PAL_60
	.comm	_V4L2_STD_PAL,4,2               ; @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
	.comm	_V4L2_STD_PAL_Nc,4,2            ; @V4L2_STD_PAL_Nc
	.comm	_V4L2_STD_PAL_N,4,2             ; @V4L2_STD_PAL_N
	.comm	_V4L2_STD_UNKNOWN,4,2           ; @V4L2_STD_UNKNOWN
	.no_dead_strip	_determine_norm
.subsections_via_symbols
