	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_enum_frame_size
_s5c73m3_enum_frame_size:               ## @s5c73m3_enum_frame_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_S5C73M3_ISP_PAD@GOTPCREL(%rip), %rcx
	movq	(%rdx), %rsi
	movq	8(%rdx), %rax
	cmpq	(%rcx), %rsi
	jne	LBB0_3
## %bb.1:
	movq	_S5C73M3_ISP_FMT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	_RES_ISP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_S5C73M3_JPEG_FMT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_RES_JPEG@GOTPCREL(%rip), %rax
LBB0_5:
	movslq	(%rax), %rcx
	movq	16(%rdx), %rax
	movq	_s5c73m3_resolutions_len@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	(%rsi,%rcx,8), %rax
	jae	LBB0_6
## %bb.7:
	movq	_s5c73m3_resolutions@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi,%rcx,8), %rcx
	movq	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 24(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5C73M3_ISP_PAD,8,3            ## @S5C73M3_ISP_PAD
	.comm	_S5C73M3_ISP_FMT,8,3            ## @S5C73M3_ISP_FMT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RES_ISP,4,2                    ## @RES_ISP
	.comm	_S5C73M3_JPEG_FMT,8,3           ## @S5C73M3_JPEG_FMT
	.comm	_RES_JPEG,4,2                   ## @RES_JPEG
	.comm	_s5c73m3_resolutions_len,8,3    ## @s5c73m3_resolutions_len
	.comm	_s5c73m3_resolutions,8,3        ## @s5c73m3_resolutions
	.no_dead_strip	_s5c73m3_enum_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_enum_frame_size
_s5c73m3_enum_frame_size:               ; @s5c73m3_enum_frame_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _S5C73M3_ISP_PAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5C73M3_ISP_PAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldp	x10, x8, [x2]
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _S5C73M3_ISP_FMT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S5C73M3_ISP_FMT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _RES_ISP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RES_ISP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x9, _S5C73M3_JPEG_FMT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S5C73M3_JPEG_FMT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
Lloh11:
	adrp	x8, _RES_JPEG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RES_JPEG@GOTPAGEOFF]
LBB0_5:
	ldrsw	x9, [x8]
	ldr	x8, [x2, #16]
Lloh13:
	adrp	x10, _s5c73m3_resolutions_len@GOTPAGE
Lloh14:
	ldr	x10, [x10, _s5c73m3_resolutions_len@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	ldr	x10, [x10, x9, lsl #3]
	cmp	x8, x10
	b.hs	LBB0_7
; %bb.6:
	mov	w0, #0
Lloh16:
	adrp	x10, _s5c73m3_resolutions@GOTPAGE
Lloh17:
	ldr	x10, [x10, _s5c73m3_resolutions@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	ldr	x9, [x10, x9, lsl #3]
	add	x10, x2, #24
	ldr	d0, [x9, x8, lsl #3]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x10]
	ret
LBB0_7:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_S5C73M3_ISP_PAD,8,3            ; @S5C73M3_ISP_PAD
	.comm	_S5C73M3_ISP_FMT,8,3            ; @S5C73M3_ISP_FMT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RES_ISP,4,2                    ; @RES_ISP
	.comm	_S5C73M3_JPEG_FMT,8,3           ; @S5C73M3_JPEG_FMT
	.comm	_RES_JPEG,4,2                   ; @RES_JPEG
	.comm	_s5c73m3_resolutions_len,8,3    ; @s5c73m3_resolutions_len
	.comm	_s5c73m3_resolutions,8,3        ; @s5c73m3_resolutions
	.no_dead_strip	_s5c73m3_enum_frame_size
.subsections_via_symbols
