	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_get_sar
_v4l2_get_sar:                          ## @v4l2_get_sar
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	%rbx, %rdi
	callq	_ctx_to_m2mctx
	movl	(%rax), %edi
	movq	_VIDIOC_CROPCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_ioctl
	movl	-40(%rbp), %ecx
	shlq	$32, %rcx
	testl	%eax, %eax
	cmovel	-36(%rbp), %r14d
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	cmoveq	%rcx, %rax
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDIOC_CROPCAP,4,2             ## @VIDIOC_CROPCAP
	.no_dead_strip	_v4l2_get_sar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_get_sar
_v4l2_get_sar:                          ; @v4l2_get_sar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w8, [x19]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_ctx_to_m2mctx
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _VIDIOC_CROPCAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDIOC_CROPCAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	ldp	w9, w8, [sp]
	lsl	x9, x9, #32
	cmp	w0, #0
	csel	w1, w8, wzr, eq
	mov	x8, #4294967296
	csel	x0, x9, x8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDIOC_CROPCAP,4,2             ; @VIDIOC_CROPCAP
	.no_dead_strip	_v4l2_get_sar
.subsections_via_symbols
