	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_check_format
_video_check_format:                    ## @video_check_format
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_video_get_subdev_format
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.3:
	movq	16(%rbx), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.4:
	movq	24(%rbx), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movq	32(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	-16(%rbp), %rcx
	je	LBB0_7
LBB0_6:
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.no_dead_strip	_video_check_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_check_format
_video_check_format:                    ; @video_check_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x8, [x0]
	str	x8, [sp, #8]
	add	x1, sp, #8
	bl	_video_get_subdev_format
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #16]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #32]
	ldr	x9, [sp, #40]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _EPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.no_dead_strip	_video_check_format
.subsections_via_symbols
