	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __uvc_query_buffer
___uvc_query_buffer:                    ## @__uvc_query_buffer
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	16(%rdi), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_V4L2_BUF_FLAG_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_2:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.3:
	movl	$59, %ecx
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.4:
	cltq
	leaq	l_switch.table.__uvc_query_buffer(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_FLAG_MAPPED,4,2       ## @V4L2_BUF_FLAG_MAPPED
	.comm	_V4L2_BUF_FLAG_DONE,4,2         ## @V4L2_BUF_FLAG_DONE
	.comm	_V4L2_BUF_FLAG_QUEUED,4,2       ## @V4L2_BUF_FLAG_QUEUED
	.no_dead_strip	___uvc_query_buffer
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.__uvc_query_buffer
l_switch.table.__uvc_query_buffer:
	.quad	_V4L2_BUF_FLAG_QUEUED
	.quad	_V4L2_BUF_FLAG_QUEUED
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_QUEUED

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __uvc_query_buffer
___uvc_query_buffer:                    ; @__uvc_query_buffer
	.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, x1
	mov	x20, x0
	add	x1, x0, #16
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_BUF_FLAG_MAPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_FLAG_MAPPED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.3:
	mov	w9, #59
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x9, l_switch.table.__uvc_query_buffer@PAGE
Lloh4:
	add	x9, x9, l_switch.table.__uvc_query_buffer@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
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
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_FLAG_MAPPED,4,2       ; @V4L2_BUF_FLAG_MAPPED
	.comm	_V4L2_BUF_FLAG_DONE,4,2         ; @V4L2_BUF_FLAG_DONE
	.comm	_V4L2_BUF_FLAG_QUEUED,4,2       ; @V4L2_BUF_FLAG_QUEUED
	.no_dead_strip	___uvc_query_buffer
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.__uvc_query_buffer
l_switch.table.__uvc_query_buffer:
	.quad	_V4L2_BUF_FLAG_QUEUED
	.quad	_V4L2_BUF_FLAG_QUEUED
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_DONE
	.quad	_V4L2_BUF_FLAG_QUEUED

.subsections_via_symbols
