	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxac_vidioc_enum_fmt_vid_cap
_pxac_vidioc_enum_fmt_vid_cap:          ## @pxac_vidioc_enum_fmt_vid_cap
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	(%rax), %rax
	movl	$-1, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	cmpq	$0, 8(%rax,%rdx)
	jne	LBB0_1
## %bb.2:
	movl	(%rbx), %edx
	cmpl	%ecx, %edx
	jae	LBB0_3
## %bb.4:
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pxac_vidioc_enum_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxac_vidioc_enum_fmt_vid_cap
_pxac_vidioc_enum_fmt_vid_cap:          ; @pxac_vidioc_enum_fmt_vid_cap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_video_drvdata
	ldr	x8, [x0]
	mov	w9, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	add	x10, x8, w9, uxtw #4
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_1
; %bb.2:
	ldr	w10, [x19]
	cmp	w10, w9
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #0
	lsl	x9, x10, #4
	ldr	x8, [x8, x9]
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pxac_vidioc_enum_fmt_vid_cap
.subsections_via_symbols
