	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stk1160_set_std
_stk1160_set_std:                       ## @stk1160_set_std
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_stk1160_dbg
	leaq	_stk1160_set_std.std525+12(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_stk1160_write_reg
	addq	$16, %rbx
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_stk1160_dbg
	leaq	_stk1160_set_std.std625+12(%rip), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_stk1160_write_reg
	addq	$16, %rbx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @stk1160_set_std.std525
_stk1160_set_std.std525:
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	1440                            ## 0x5a0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	243                             ## 0xf3
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	134                             ## 0x86
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	4                               ## @stk1160_set_std.std625
_stk1160_set_std.std625:
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	134                             ## 0x86
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	137                             ## 0x89
	.long	1440                            ## 0x5a0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	138                             ## 0x8a
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	139                             ## 0x8b
	.long	289                             ## 0x121
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	140                             ## 0x8c
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"registers to NTSC like standard\n"

L_.str.1:                               ## @.str.1
	.asciz	"registers to PAL like standard\n"

	.no_dead_strip	_stk1160_set_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stk1160_set_std
_stk1160_set_std:                       ; @stk1160_set_std
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _V4L2_STD_525_60@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_stk1160_dbg
Lloh5:
	adrp	x20, _stk1160_set_std.std525@PAGE+12
Lloh6:
	add	x20, x20, _stk1160_set_std.std525@PAGEOFF+12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w2, [x20, #-4]
	mov	x0, x19
	bl	_stk1160_write_reg
	add	x20, x20, #16
	b	LBB0_2
LBB0_3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_stk1160_dbg
Lloh9:
	adrp	x20, _stk1160_set_std.std625@PAGE+12
Lloh10:
	add	x20, x20, _stk1160_set_std.std625@PAGEOFF+12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w2, [x20, #-4]
	mov	x0, x19
	bl	_stk1160_write_reg
	add	x20, x20, #16
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @stk1160_set_std.std525
_stk1160_set_std.std525:
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	1440                            ; 0x5a0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	243                             ; 0xf3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	134                             ; 0x86
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @stk1160_set_std.std625
_stk1160_set_std.std625:
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	134                             ; 0x86
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	137                             ; 0x89
	.long	1440                            ; 0x5a0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	138                             ; 0x8a
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	139                             ; 0x8b
	.long	289                             ; 0x121
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	140                             ; 0x8c
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"registers to NTSC like standard\n"

l_.str.1:                               ; @.str.1
	.asciz	"registers to PAL like standard\n"

	.no_dead_strip	_stk1160_set_std
.subsections_via_symbols
