	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_video_size
_match_video_size:                      ## @match_video_size
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	32(%r15), %edi
	movq	_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_ACameraMetadata_getConstEntry
	movl	-40(%rbp), %ecx
	movq	-32(%rbp), %rax
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.1:
	movq	_IMAGE_FORMAT_ANDROID@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	shlq	$5, %rcx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 24(%rax,%rsi)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, (%rax,%rsi)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rsi), %rdx
	movq	16(%rax,%rsi), %rdi
	movq	(%r15), %rbx
	cmpq	%rdx, %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, 8(%r15)
	je	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rbx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, 8(%r15)
	jne	LBB0_8
LBB0_9:
	movq	%rdx, 16(%r15)
	movq	%rdi, 24(%r15)
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	testq	%rdi, %rdi
	jne	LBB0_12
LBB0_11:
	movq	8(%rax), %r9
	movq	%r9, 16(%r15)
	movq	16(%rax), %rax
	movq	%rax, 24(%r15)
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r15), %rcx
	movq	8(%r15), %r8
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS,4,2 ## @ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS
	.comm	_IMAGE_FORMAT_ANDROID,8,3       ## @IMAGE_FORMAT_ANDROID
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Requested video_size %dx%d not available, falling back to %dx%d\n"

	.no_dead_strip	_match_video_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_video_size
_match_video_size:                      ; @match_video_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w0, [x20, #32]
Lloh0:
	adrp	x8, _ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ACameraMetadata_getConstEntry
	ldr	w9, [sp]
	ldr	x8, [sp, #8]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
Lloh3:
	adrp	x10, _IMAGE_FORMAT_ANDROID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IMAGE_FORMAT_ANDROID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x11, x8, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #32
	subs	x9, x9, #1
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, #8]
	cbnz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x12, [x11, #-16]
	cmp	x12, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x13, x12, [x11, #-8]
	ldr	x14, [x20]
	cmp	x14, x13
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x20, #8]
	cmp	x15, x12
	b.eq	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x14, x12
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x20, #8]
	cmp	x14, x13
	b.ne	LBB0_2
LBB0_9:
	stp	x13, x12, [x20, #16]
	cbz	x13, LBB0_11
; %bb.10:
	cbnz	x12, LBB0_12
LBB0_11:
	ldr	x5, [x8, #8]
	str	x5, [x20, #16]
	ldr	x6, [x8, #16]
	str	x6, [x20, #24]
Lloh6:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x3, x4, [x20]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS,4,2 ; @ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS
	.comm	_IMAGE_FORMAT_ANDROID,8,3       ; @IMAGE_FORMAT_ANDROID
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Requested video_size %dx%d not available, falling back to %dx%d\n"

	.no_dead_strip	_match_video_size
.subsections_via_symbols
