	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_init_xu_ctrl
_uvc_ctrl_init_xu_ctrl:                 ## @uvc_ctrl_init_xu_ctrl
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	cmpq	$0, 8(%rsi)
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-32(%rbp), %rdx
	callq	_uvc_ctrl_fill_xu_info
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_uvc_ctrl_add_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	movq	_UVC_TRACE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %edx
	movq	(%r15), %rax
	movl	(%rax), %r8d
	movq	(%r14), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	callq	_uvc_trace
	jmp	LBB0_5
LBB0_2:
	movl	%eax, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_TRACE_CONTROL,4,2          ## @UVC_TRACE_CONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to initialize control %pUl/%u on device %s entity %u\n"

	.no_dead_strip	_uvc_ctrl_init_xu_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_init_xu_ctrl
_uvc_ctrl_init_xu_ctrl:                 ; @uvc_ctrl_init_xu_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, [x1, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	mov	x20, x1
	mov	x21, x0
	add	x2, sp, #8
	bl	_uvc_ctrl_fill_xu_info
	tbnz	w0, #31, LBB0_6
; %bb.4:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_uvc_ctrl_add_info
	mov	x19, x0
	tbz	w0, #31, LBB0_2
; %bb.5:
Lloh0:
	adrp	x8, _UVC_TRACE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVC_TRACE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w3, w2, [sp, #8]
	ldr	x8, [x21]
	ldr	w4, [x8]
	ldr	x8, [x20]
	ldr	w5, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_uvc_trace
	b	LBB0_2
LBB0_6:
	mov	x19, x0
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_TRACE_CONTROL,4,2          ; @UVC_TRACE_CONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to initialize control %pUl/%u on device %s entity %u\n"

	.no_dead_strip	_uvc_ctrl_init_xu_ctrl
.subsections_via_symbols
