	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7127_set_output_type
_saa7127_set_output_type:               ## @saa7127_set_output_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_to_state
	leal	-128(%r14), %edx
	cmpl	$5, %edx
	ja	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	$19, %eax
	movl	$15, %ecx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	$11, %eax
	movl	$79, %ecx
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_4:
	movl	$11, %eax
	jmp	LBB0_9
LBB0_2:
	movl	16(%rbx), %ecx
	movq	_SAA7129@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	movl	$24, %edx
	movl	$255, %ecx
	jmp	LBB0_8
LBB0_7:
	movl	16(%rbx), %ecx
	movq	_SAA7129@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	movl	$32, %edx
	movl	$8, %ecx
	jmp	LBB0_8
LBB0_5:
	movl	16(%rbx), %ecx
	movq	_SAA7129@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	movl	$56, %edx
	movl	$191, %ecx
LBB0_8:
	cmovel	%edx, %ecx
LBB0_9:
	movl	%ecx, (%rbx)
	movl	%eax, 4(%rbx)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_output_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %r8d
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_v4l2_dbg
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$45, %esi
	callq	_saa7127_write
	movl	8(%rbx), %edx
	orl	4(%rbx), %edx
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_saa7127_write
	movl	%r14d, 12(%rbx)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_SAA7129,4,2                    ## @SAA7129
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Selecting %s output type\n"

	.comm	_output_strs,8,3                ## @output_strs
	.no_dead_strip	_saa7127_set_output_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function saa7127_set_output_type
lCPI0_0:
	.long	15                              ; 0xf
	.long	19                              ; 0x13
lCPI0_1:
	.long	15                              ; 0xf
	.long	11                              ; 0xb
lCPI0_2:
	.long	79                              ; 0x4f
	.long	11                              ; 0xb
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_saa7127_set_output_type:               ; @saa7127_set_output_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	bl	_to_state
	sub	w8, w19, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
Lloh9:
	adrp	x8, lCPI0_1@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_9
LBB0_5:
	ldr	w8, [x20, #16]
Lloh11:
	adrp	x9, _SAA7129@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SAA7129@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	mov	w10, #255
	mov	w11, #24
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #16]
Lloh14:
	adrp	x9, _SAA7129@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SAA7129@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mov	w10, #8
	mov	w11, #32
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20, #16]
Lloh17:
	adrp	x9, _SAA7129@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SAA7129@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	mov	w10, #191
	mov	w11, #56
LBB0_8:
	cmp	w8, w9
	csel	w8, w11, w10, eq
	movi.2s	v0, #19
	mov.s	v0[0], w8
LBB0_9:
	str	d0, [x20]
Lloh20:
	adrp	x8, _debug@GOTPAGE
Lloh21:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _output_strs@GOTPAGE
Lloh24:
	ldr	x8, [x8, _output_strs@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w4, [x8, w19, uxtw #2]
Lloh26:
	adrp	x3, l_.str@PAGE
Lloh27:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_v4l2_dbg
	ldr	w2, [x20]
	mov	x0, x21
	mov	w1, #45
	bl	_saa7127_write
	ldp	w8, w9, [x20, #4]
	orr	w2, w9, w8
	mov	x0, x21
	mov	w1, #58
	bl	_saa7127_write
	mov	w0, #0
	str	w19, [x20, #12]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_SAA7129,4,2                    ; @SAA7129
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Selecting %s output type\n"

	.comm	_output_strs,8,3                ; @output_strs
	.no_dead_strip	_saa7127_set_output_type
.subsections_via_symbols
