	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coda_set_default_colorspace
_coda_set_default_colorspace:           ## @coda_set_default_colorspace
	.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	_V4L2_PIX_FMT_JPEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_V4L2_COLORSPACE_JPEG@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	cmpl	$720, 8(%rdi)                   ## imm = 0x2D0
	jg	LBB0_5
## %bb.3:
	cmpl	$577, 12(%rdi)                  ## imm = 0x241
	jge	LBB0_5
## %bb.4:
	movq	_V4L2_COLORSPACE_SMPTE170M@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_V4L2_COLORSPACE_REC709@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_V4L2_XFER_FUNC_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movq	_V4L2_YCBCR_ENC_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_V4L2_QUANTIZATION_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ## @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ## @V4L2_COLORSPACE_JPEG
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ## @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_COLORSPACE_REC709,4,2     ## @V4L2_COLORSPACE_REC709
	.comm	_V4L2_XFER_FUNC_DEFAULT,4,2     ## @V4L2_XFER_FUNC_DEFAULT
	.comm	_V4L2_YCBCR_ENC_DEFAULT,4,2     ## @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_DEFAULT,4,2  ## @V4L2_QUANTIZATION_DEFAULT
	.no_dead_strip	_coda_set_default_colorspace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coda_set_default_colorspace
_coda_set_default_colorspace:           ; @coda_set_default_colorspace
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _V4L2_PIX_FMT_JPEG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_PIX_FMT_JPEG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _V4L2_COLORSPACE_JPEG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_COLORSPACE_JPEG@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	w8, [x0, #8]
	cmp	w8, #720
	b.gt	LBB0_5
; %bb.3:
	ldr	w8, [x0, #12]
	cmp	w8, #577
	b.ge	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _V4L2_COLORSPACE_REC709@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_COLORSPACE_REC709@GOTPAGEOFF]
LBB0_6:
Lloh9:
	adrp	x9, _V4L2_XFER_FUNC_DEFAULT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_XFER_FUNC_DEFAULT@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #24]
Lloh15:
	adrp	x9, _V4L2_QUANTIZATION_DEFAULT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _V4L2_QUANTIZATION_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [x0, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ; @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ; @V4L2_COLORSPACE_JPEG
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ; @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_COLORSPACE_REC709,4,2     ; @V4L2_COLORSPACE_REC709
	.comm	_V4L2_XFER_FUNC_DEFAULT,4,2     ; @V4L2_XFER_FUNC_DEFAULT
	.comm	_V4L2_YCBCR_ENC_DEFAULT,4,2     ; @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_DEFAULT,4,2  ; @V4L2_QUANTIZATION_DEFAULT
	.no_dead_strip	_coda_set_default_colorspace
.subsections_via_symbols
