	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_jpeg_check_resolution_change
_mtk_jpeg_check_resolution_change:      ## @mtk_jpeg_check_resolution_change
	.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	24(%rdi), %rax
	movq	48(%rdi), %r14
	leaq	L_.str(%rip), %rcx
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.1:
	movq	32(%rdi), %rax
	cmpq	8(%rsi), %rax
	jne	LBB0_4
## %bb.2:
	movq	16(%rdi), %r15
	movl	16(%rsi), %esi
	movq	_MTK_JPEG_FMT_TYPE_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mtk_jpeg_find_format
	xorl	%ebx, %ebx
	cmpq	%rax, %r15
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
LBB0_4:
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %ebx
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_v4l2_dbg
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Picture size change\n"

	.comm	_MTK_JPEG_FMT_TYPE_CAPTURE,4,2  ## @MTK_JPEG_FMT_TYPE_CAPTURE
L_.str.1:                               ## @.str.1
	.asciz	"format change\n"

	.no_dead_strip	_mtk_jpeg_check_resolution_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_jpeg_check_resolution_change
_mtk_jpeg_check_resolution_change:      ; @mtk_jpeg_check_resolution_change
	.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	x19, [x0, #48]
	ldr	x8, [x0, #24]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #32]
	ldr	x9, [x1, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x20, [x0, #16]
	ldr	w1, [x1, #16]
Lloh0:
	adrp	x8, _MTK_JPEG_FMT_TYPE_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTK_JPEG_FMT_TYPE_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_mtk_jpeg_find_format
	cmp	x20, x0
	b.ne	LBB0_7
; %bb.3:
	mov	w20, #0
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
LBB0_5:
Lloh5:
	adrp	x8, _debug@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w20, #1
	mov	w0, #1
	mov	x2, x19
	bl	_v4l2_dbg
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Picture size change\n"

	.comm	_MTK_JPEG_FMT_TYPE_CAPTURE,4,2  ; @MTK_JPEG_FMT_TYPE_CAPTURE
l_.str.1:                               ; @.str.1
	.asciz	"format change\n"

	.no_dead_strip	_mtk_jpeg_check_resolution_change
.subsections_via_symbols
