	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_get_subdev_format
_video_get_subdev_format:               ## @video_get_subdev_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rsi
	callq	_video_remote_subdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-20(%rbp), %esi
	movl	%esi, -24(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
	movq	_get_fmt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-32(%rbp), %r8
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	-32(%rbp), %edi
	movl	(%r14), %esi
	movq	8(%rbx), %rdx
	movl	20(%rbx), %ecx
	callq	_video_find_format
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	16(%rbx), %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, %edx
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movl	(%rbx), %ecx
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_video_mbus_to_pix_mp
	jmp	LBB0_5
LBB0_1:
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ## @get_fmt
	.no_dead_strip	_video_get_subdev_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_get_subdev_format
_video_get_subdev_format:               ; @video_get_subdev_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	bl	_video_remote_subdev
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [sp, #12]
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w1, [sp, #20]
Lloh3:
	adrp	x8, _get_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #16
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w0, [sp, #16]
	ldr	w1, [x19]
	ldr	x2, [x20, #8]
	ldr	w3, [x20, #20]
	bl	_video_find_format
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w8, [x20, #16]
	str	w8, [x19, #4]
	ldr	x8, [x20, #8]
	add	x2, x8, w0, uxtw #2
	ldr	w3, [x20]
	add	x0, sp, #16
	mov	x1, x19
	bl	_video_mbus_to_pix_mp
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EPIPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ; @get_fmt
	.no_dead_strip	_video_get_subdev_format
.subsections_via_symbols
