	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw9910_g_crop
_tw9910_g_crop:                         ## @tw9910_g_crop
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_v4l2_get_subdevdata
	movq	%rax, %rdi
	callq	_to_tw9910
	movq	%rax, %r15
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movups	l___const.tw9910_g_crop.crop+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movups	l___const.tw9910_g_crop.crop(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_tw9910_s_crop
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	(%r15), %rax
LBB0_3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	3                               ## @__const.tw9910_g_crop.crop
l___const.tw9910_g_crop.crop:
	.long	0                               ## 0x0
	.space	4
	.long	480                             ## 0x1e0
	.long	640                             ## 0x280
	.quad	0                               ## 0x0
	.quad	0                               ## 0x0

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.no_dead_strip	_tw9910_g_crop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw9910_g_crop
_tw9910_g_crop:                         ; @tw9910_g_crop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	bl	_v4l2_get_subdevdata
	bl	_to_tw9910
	ldr	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, l___const.tw9910_g_crop.crop@PAGE
Lloh1:
	add	x8, x8, l___const.tw9910_g_crop.crop@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_tw9910_s_crop
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x8, [x21]
LBB0_3:
	mov	w0, #0
	stp	xzr, xzr, [x19, #16]
	ldr	d0, [x8]
	str	d0, [x19, #8]
Lloh2:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @__const.tw9910_g_crop.crop
l___const.tw9910_g_crop.crop:
	.long	0                               ; 0x0
	.space	4
	.long	480                             ; 0x1e0
	.long	640                             ; 0x280
	.quad	0                               ; 0x0
	.quad	0                               ; 0x0

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.no_dead_strip	_tw9910_g_crop
.subsections_via_symbols
