	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa712x_setup
_saa712x_setup:                         ## @saa712x_setup
	.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	_SOLO_VO_FMT_TYPE_PAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	_saa712x_setup.saa7128_regs_pal(%rip), %rax
	leaq	_saa712x_setup.saa7128_regs_ntsc(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	$38, %edx
	movl	$360, %ecx                      ## imm = 0x168
	popq	%rbp
	jmp	_saa712x_write_regs             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @saa712x_setup.saa7128_regs_ntsc
_saa712x_setup.saa7128_regs_ntsc:
	.long	13                              ## 0xd
	.long	0                               ## 0x0
	.long	89                              ## 0x59
	.long	29                              ## 0x1d
	.long	117                             ## 0x75
	.long	63                              ## 0x3f
	.long	6                               ## 0x6
	.long	63                              ## 0x3f
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	26                              ## 0x1a
	.long	26                              ## 0x1a
	.long	19                              ## 0x13
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	104                             ## 0x68
	.long	16                              ## 0x10
	.long	151                             ## 0x97
	.long	76                              ## 0x4c
	.long	24                              ## 0x18
	.long	155                             ## 0x9b
	.long	147                             ## 0x93
	.long	159                             ## 0x9f
	.long	255                             ## 0xff
	.long	124                             ## 0x7c
	.long	52                              ## 0x34
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	13                              ## 0xd
	.long	15                              ## 0xf
	.long	195                             ## 0xc3
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	128                             ## 0x80
	.long	113                             ## 0x71
	.long	119                             ## 0x77
	.long	167                             ## 0xa7
	.long	103                             ## 0x67
	.long	102                             ## 0x66
	.long	46                              ## 0x2e
	.long	123                             ## 0x7b
	.long	17                              ## 0x11
	.long	79                              ## 0x4f
	.long	31                              ## 0x1f
	.long	124                             ## 0x7c
	.long	240                             ## 0xf0
	.long	33                              ## 0x21
	.long	119                             ## 0x77
	.long	65                              ## 0x41
	.long	136                             ## 0x88
	.long	65                              ## 0x41
	.long	82                              ## 0x52
	.long	237                             ## 0xed
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	65                              ## 0x41
	.long	195                             ## 0xc3
	.long	0                               ## 0x0
	.long	62                              ## 0x3e
	.long	184                             ## 0xb8
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.p2align	4                               ## @saa712x_setup.saa7128_regs_pal
_saa712x_setup.saa7128_regs_pal:
	.long	13                              ## 0xd
	.long	0                               ## 0x0
	.long	225                             ## 0xe1
	.long	29                              ## 0x1d
	.long	117                             ## 0x75
	.long	63                              ## 0x3f
	.long	6                               ## 0x6
	.long	63                              ## 0x3f
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	26                              ## 0x1a
	.long	26                              ## 0x1a
	.long	19                              ## 0x13
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	104                             ## 0x68
	.long	16                              ## 0x10
	.long	151                             ## 0x97
	.long	76                              ## 0x4c
	.long	24                              ## 0x18
	.long	155                             ## 0x9b
	.long	147                             ## 0x93
	.long	159                             ## 0x9f
	.long	255                             ## 0xff
	.long	124                             ## 0x7c
	.long	52                              ## 0x34
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	131                             ## 0x83
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	13                              ## 0xd
	.long	15                              ## 0xf
	.long	195                             ## 0xc3
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	128                             ## 0x80
	.long	15                              ## 0xf
	.long	119                             ## 0x77
	.long	167                             ## 0xa7
	.long	103                             ## 0x67
	.long	102                             ## 0x66
	.long	46                              ## 0x2e
	.long	123                             ## 0x7b
	.long	2                               ## 0x2
	.long	53                              ## 0x35
	.long	203                             ## 0xcb
	.long	138                             ## 0x8a
	.long	9                               ## 0x9
	.long	42                              ## 0x2a
	.long	119                             ## 0x77
	.long	65                              ## 0x41
	.long	136                             ## 0x88
	.long	65                              ## 0x41
	.long	82                              ## 0x52
	.long	241                             ## 0xf1
	.long	16                              ## 0x10
	.long	32                              ## 0x20
	.long	0                               ## 0x0
	.long	65                              ## 0x41
	.long	195                             ## 0xc3
	.long	0                               ## 0x0
	.long	62                              ## 0x3e
	.long	184                             ## 0xb8
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	18                              ## 0x12
	.long	48                              ## 0x30
	.long	192                             ## 0xc0
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.comm	_SOLO_VO_FMT_TYPE_PAL,8,3       ## @SOLO_VO_FMT_TYPE_PAL
	.no_dead_strip	_saa712x_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa712x_setup
_saa712x_setup:                         ; @saa712x_setup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SOLO_VO_FMT_TYPE_PAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOLO_VO_FMT_TYPE_PAL@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _saa712x_setup.saa7128_regs_ntsc@PAGE
Lloh4:
	add	x10, x10, _saa712x_setup.saa7128_regs_ntsc@PAGEOFF
Lloh5:
	adrp	x11, _saa712x_setup.saa7128_regs_pal@PAGE
Lloh6:
	add	x11, x11, _saa712x_setup.saa7128_regs_pal@PAGEOFF
	cmp	x9, x8
	csel	x1, x11, x10, eq
	mov	w2, #38
	mov	w3, #360
	b	_saa712x_write_regs
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @saa712x_setup.saa7128_regs_ntsc
_saa712x_setup.saa7128_regs_ntsc:
	.long	13                              ; 0xd
	.long	0                               ; 0x0
	.long	89                              ; 0x59
	.long	29                              ; 0x1d
	.long	117                             ; 0x75
	.long	63                              ; 0x3f
	.long	6                               ; 0x6
	.long	63                              ; 0x3f
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	26                              ; 0x1a
	.long	26                              ; 0x1a
	.long	19                              ; 0x13
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	104                             ; 0x68
	.long	16                              ; 0x10
	.long	151                             ; 0x97
	.long	76                              ; 0x4c
	.long	24                              ; 0x18
	.long	155                             ; 0x9b
	.long	147                             ; 0x93
	.long	159                             ; 0x9f
	.long	255                             ; 0xff
	.long	124                             ; 0x7c
	.long	52                              ; 0x34
	.long	63                              ; 0x3f
	.long	63                              ; 0x3f
	.long	63                              ; 0x3f
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	13                              ; 0xd
	.long	15                              ; 0xf
	.long	195                             ; 0xc3
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	128                             ; 0x80
	.long	113                             ; 0x71
	.long	119                             ; 0x77
	.long	167                             ; 0xa7
	.long	103                             ; 0x67
	.long	102                             ; 0x66
	.long	46                              ; 0x2e
	.long	123                             ; 0x7b
	.long	17                              ; 0x11
	.long	79                              ; 0x4f
	.long	31                              ; 0x1f
	.long	124                             ; 0x7c
	.long	240                             ; 0xf0
	.long	33                              ; 0x21
	.long	119                             ; 0x77
	.long	65                              ; 0x41
	.long	136                             ; 0x88
	.long	65                              ; 0x41
	.long	82                              ; 0x52
	.long	237                             ; 0xed
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	65                              ; 0x41
	.long	195                             ; 0xc3
	.long	0                               ; 0x0
	.long	62                              ; 0x3e
	.long	184                             ; 0xb8
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.p2align	2                               ; @saa712x_setup.saa7128_regs_pal
_saa712x_setup.saa7128_regs_pal:
	.long	13                              ; 0xd
	.long	0                               ; 0x0
	.long	225                             ; 0xe1
	.long	29                              ; 0x1d
	.long	117                             ; 0x75
	.long	63                              ; 0x3f
	.long	6                               ; 0x6
	.long	63                              ; 0x3f
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	26                              ; 0x1a
	.long	26                              ; 0x1a
	.long	19                              ; 0x13
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	104                             ; 0x68
	.long	16                              ; 0x10
	.long	151                             ; 0x97
	.long	76                              ; 0x4c
	.long	24                              ; 0x18
	.long	155                             ; 0x9b
	.long	147                             ; 0x93
	.long	159                             ; 0x9f
	.long	255                             ; 0xff
	.long	124                             ; 0x7c
	.long	52                              ; 0x34
	.long	63                              ; 0x3f
	.long	63                              ; 0x3f
	.long	63                              ; 0x3f
	.long	131                             ; 0x83
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	13                              ; 0xd
	.long	15                              ; 0xf
	.long	195                             ; 0xc3
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	128                             ; 0x80
	.long	15                              ; 0xf
	.long	119                             ; 0x77
	.long	167                             ; 0xa7
	.long	103                             ; 0x67
	.long	102                             ; 0x66
	.long	46                              ; 0x2e
	.long	123                             ; 0x7b
	.long	2                               ; 0x2
	.long	53                              ; 0x35
	.long	203                             ; 0xcb
	.long	138                             ; 0x8a
	.long	9                               ; 0x9
	.long	42                              ; 0x2a
	.long	119                             ; 0x77
	.long	65                              ; 0x41
	.long	136                             ; 0x88
	.long	65                              ; 0x41
	.long	82                              ; 0x52
	.long	241                             ; 0xf1
	.long	16                              ; 0x10
	.long	32                              ; 0x20
	.long	0                               ; 0x0
	.long	65                              ; 0x41
	.long	195                             ; 0xc3
	.long	0                               ; 0x0
	.long	62                              ; 0x3e
	.long	184                             ; 0xb8
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	18                              ; 0x12
	.long	48                              ; 0x30
	.long	192                             ; 0xc0
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.comm	_SOLO_VO_FMT_TYPE_PAL,8,3       ; @SOLO_VO_FMT_TYPE_PAL
	.no_dead_strip	_saa712x_setup
.subsections_via_symbols
