	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_jpeg_enum_fmt_vid_cap
_s5p_jpeg_enum_fmt_vid_cap:             ## @s5p_jpeg_enum_fmt_vid_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	callq	_fh_to_ctx
	movq	(%rax), %rcx
	movq	_S5P_JPEG_ENCODE@GOTPCREL(%rip), %rdi
	movq	_sjpeg_formats@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_SJPEG_NUM_FORMATS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	(%rdi), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_SJPEG_FMT_FLAG_ENC_CAPTURE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_SJPEG_FMT_FLAG_DEC_CAPTURE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %r8d
	movq	%rax, %rdi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_enum_fmt                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_S5P_JPEG_ENCODE,8,3            ## @S5P_JPEG_ENCODE
	.comm	_sjpeg_formats,4,2              ## @sjpeg_formats
	.comm	_SJPEG_NUM_FORMATS,4,2          ## @SJPEG_NUM_FORMATS
	.comm	_SJPEG_FMT_FLAG_ENC_CAPTURE,4,2 ## @SJPEG_FMT_FLAG_ENC_CAPTURE
	.comm	_SJPEG_FMT_FLAG_DEC_CAPTURE,4,2 ## @SJPEG_FMT_FLAG_DEC_CAPTURE
	.no_dead_strip	_s5p_jpeg_enum_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_jpeg_enum_fmt_vid_cap
_s5p_jpeg_enum_fmt_vid_cap:             ; @s5p_jpeg_enum_fmt_vid_cap
	.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, x2
	mov	x0, x1
	bl	_fh_to_ctx
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _S5P_JPEG_ENCODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S5P_JPEG_ENCODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _sjpeg_formats@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sjpeg_formats@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
Lloh6:
	adrp	x10, _SJPEG_NUM_FORMATS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SJPEG_NUM_FORMATS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x10]
Lloh9:
	adrp	x10, _SJPEG_FMT_FLAG_ENC_CAPTURE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SJPEG_FMT_FLAG_ENC_CAPTURE@GOTPAGEOFF]
Lloh11:
	adrp	x11, _SJPEG_FMT_FLAG_DEC_CAPTURE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _SJPEG_FMT_FLAG_DEC_CAPTURE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w4, [x8]
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_enum_fmt
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S5P_JPEG_ENCODE,8,3            ; @S5P_JPEG_ENCODE
	.comm	_sjpeg_formats,4,2              ; @sjpeg_formats
	.comm	_SJPEG_NUM_FORMATS,4,2          ; @SJPEG_NUM_FORMATS
	.comm	_SJPEG_FMT_FLAG_ENC_CAPTURE,4,2 ; @SJPEG_FMT_FLAG_ENC_CAPTURE
	.comm	_SJPEG_FMT_FLAG_DEC_CAPTURE,4,2 ; @SJPEG_FMT_FLAG_DEC_CAPTURE
	.no_dead_strip	_s5p_jpeg_enum_fmt_vid_cap
.subsections_via_symbols
