	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function au0828_set_format
LCPI0_0:
	.long	720                             ## 0x2d0
	.long	480                             ## 0x1e0
	.long	691200                          ## 0xa8c00
	.long	345600                          ## 0x54600
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_au0828_set_format:                     ## @au0828_set_format
	.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
	movq	8(%rdx), %rax
	movq	_V4L2_PIX_FMT_UYVY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movabsq	$2061584302800, %rax            ## imm = 0x1E0000002D0
	movq	%rax, (%rdx)
	movabsq	$2968681394996640, %rax         ## imm = 0xA8C00000005A0
	movq	%rax, 16(%rdx)
	movq	_V4L2_COLORSPACE_SMPTE170M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdx)
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdx)
	movq	_VIDIOC_TRY_FMT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%esi, (%rax)
	je	LBB0_7
## %bb.3:
	movq	%rdi, %r14
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [720,480,691200,345600]
	movups	%xmm0, (%rdi)
	movl	$1440, 16(%rdi)                 ## imm = 0x5A0
	movq	24(%rdi), %rax
	movq	_STREAM_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movq	%r14, %rdi
	callq	_au0828_stream_interrupt
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movl	%r15d, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_au0828_analog_stream_enable
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_UYVY,8,3          ## @V4L2_PIX_FMT_UYVY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ## @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.comm	_VIDIOC_TRY_FMT,4,2             ## @VIDIOC_TRY_FMT
	.comm	_STREAM_ON,8,3                  ## @STREAM_ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_SET_FMT: interrupting stream!\n"

L_.str.1:                               ## @.str.1
	.asciz	"error interrupting video stream!\n"

	.no_dead_strip	_au0828_set_format
.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 au0828_set_format
lCPI0_0:
	.long	720                             ; 0x2d0
	.long	480                             ; 0x1e0
lCPI0_1:
	.long	1440                            ; 0x5a0
	.long	691200                          ; 0xa8c00
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_2:
	.long	720                             ; 0x2d0
	.long	480                             ; 0x1e0
	.long	691200                          ; 0xa8c00
	.long	345600                          ; 0x54600
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_au0828_set_format:                     ; @au0828_set_format
	.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
	ldr	x8, [x2, #8]
Lloh0:
	adrp	x9, _V4L2_PIX_FMT_UYVY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_PIX_FMT_UYVY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x2]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x2, #16]
Lloh7:
	adrp	x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x2, #24]
Lloh13:
	adrp	x8, _VIDIOC_TRY_FMT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VIDIOC_TRY_FMT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w1
	b.eq	LBB0_7
; %bb.2:
	mov	x19, x0
Lloh16:
	adrp	x8, lCPI0_2@PAGE
Lloh17:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [x0]
	mov	w8, #1440
	str	w8, [x0, #16]
	ldr	x8, [x0, #24]
Lloh18:
	adrp	x9, _STREAM_ON@GOTPAGE
Lloh19:
	ldr	x9, [x9, _STREAM_ON@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	mov	x0, x19
	bl	_au0828_stream_interrupt
	cbz	w0, LBB0_6
; %bb.4:
	mov	x20, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	b	LBB0_8
LBB0_5:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_au0828_analog_stream_enable
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_UYVY,8,3          ; @V4L2_PIX_FMT_UYVY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ; @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.comm	_VIDIOC_TRY_FMT,4,2             ; @VIDIOC_TRY_FMT
	.comm	_STREAM_ON,8,3                  ; @STREAM_ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_SET_FMT: interrupting stream!\n"

l_.str.1:                               ; @.str.1
	.asciz	"error interrupting video stream!\n"

	.no_dead_strip	_au0828_set_format
.subsections_via_symbols
