	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_status_init                ## -- Begin function uvc_status_init
	.p2align	4, 0x90
_uvc_status_init:                       ## @uvc_status_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	callq	_uvc_input_init
	movq	_UVC_MAX_STATUS_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_kzalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	(%rbx), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	16(%r15), %rdi
	movl	4(%r13), %esi
	callq	_usb_rcvintpipe
	movl	%eax, %r14d
	movl	(%r13), %eax
	cmpl	$17, %eax
	jl	LBB0_7
## %bb.4:
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movq	_USB_SPEED_HIGH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movq	_UVC_QUIRK_STATUS_INTERVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_fls
                                        ## kill: def $eax killed $eax def $rax
	decl	%eax
LBB0_7:
	movq	24(%r15), %rdi
	movq	8(%r15), %rcx
	movq	16(%r15), %rsi
	movl	(%r12), %r8d
	movq	_uvc_status_complete@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	%r14d, %edx
	pushq	%rax
	pushq	%r15
	callq	_usb_fill_int_urb
	addq	$16, %rsp
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_10:
	movq	8(%r15), %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_MAX_STATUS_SIZE,4,2        ## @UVC_MAX_STATUS_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_USB_SPEED_HIGH,8,3             ## @USB_SPEED_HIGH
	.comm	_UVC_QUIRK_STATUS_INTERVAL,4,2  ## @UVC_QUIRK_STATUS_INTERVAL
	.comm	_uvc_status_complete,4,2        ## @uvc_status_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uvc_status_init                ; -- Begin function uvc_status_init
	.p2align	2
_uvc_status_init:                       ; @uvc_status_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x22, [x0, #32]
	cbz	x22, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_uvc_input_init
Lloh0:
	adrp	x21, _UVC_MAX_STATUS_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UVC_MAX_STATUS_SIZE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.2:
	ldr	w1, [x20]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x19, #24]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x0, [x19, #16]
	ldr	w1, [x22, #4]
	bl	_usb_rcvintpipe
	mov	x20, x0
	ldr	w7, [x22]
	cmp	w7, #17
	b.lt	LBB0_7
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _USB_SPEED_HIGH@GOTPAGE
Lloh5:
	ldr	x9, [x9, _USB_SPEED_HIGH@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _UVC_QUIRK_STATUS_INTERVAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UVC_QUIRK_STATUS_INTERVAL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x7
	bl	_fls
	sub	w7, w0, #1
LBB0_7:
	ldp	x1, x0, [x19, #16]
	ldr	x3, [x19, #8]
	ldr	w4, [x21]
Lloh10:
	adrp	x8, _uvc_status_complete@GOTPAGE
Lloh11:
	ldr	x8, [x8, _uvc_status_complete@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	mov	x2, x20
	mov	x6, x19
	bl	_usb_fill_int_urb
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_10:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_MAX_STATUS_SIZE,4,2        ; @UVC_MAX_STATUS_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_USB_SPEED_HIGH,8,3             ; @USB_SPEED_HIGH
	.comm	_UVC_QUIRK_STATUS_INTERVAL,4,2  ; @UVC_QUIRK_STATUS_INTERVAL
	.comm	_uvc_status_complete,4,2        ; @uvc_status_complete
.subsections_via_symbols
