	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_resolution_changed
_v4l2_resolution_changed:               ## @v4l2_resolution_changed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movl	4(%rdi), %edi
	callq	_V4L2_TYPE_IS_MULTIPLANAR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	24(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_5
## %bb.2:
	movq	32(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	24(%r15), %rcx
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	8(%r15), %rcx
	je	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_logger
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_v4l2_get_width
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_v4l2_get_height
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_v4l2_get_width
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_v4l2_get_height
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rdx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%rbx
	callq	_av_log
	addq	$16, %rsp
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s changed (%dx%d) -> (%dx%d)\n"

	.no_dead_strip	_v4l2_resolution_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_resolution_changed
_v4l2_resolution_changed:               ; @v4l2_resolution_changed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	add	x20, x0, #8
	ldr	w0, [x0, #4]
	bl	_V4L2_TYPE_IS_MULTIPLANAR
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21, #24]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x21, #32]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_6
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x21, #16]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_logger
	mov	x22, x0
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w21, [x21]
	mov	x0, x20
	bl	_v4l2_get_width
	mov	x24, x0
	mov	x0, x20
	bl	_v4l2_get_height
	mov	x20, x0
	mov	x0, x19
	bl	_v4l2_get_width
	mov	x25, x0
	mov	x0, x19
	bl	_v4l2_get_height
	mov	x7, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	mov	x4, x24
	mov	x5, x20
	mov	x6, x25
	bl	_av_log
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s changed (%dx%d) -> (%dx%d)\n"

	.no_dead_strip	_v4l2_resolution_changed
.subsections_via_symbols
