	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_add_info
_uvc_ctrl_add_info:                     ## @uvc_ctrl_add_info
	.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, %rbx
	movq	%rdi, %r14
	movups	(%rdx), %xmm0
	movups	%xmm0, 24(%rsi)
	leaq	36(%rsi), %rdi
	callq	_INIT_LIST_HEAD
	movq	_UVC_CTRL_DATA_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	24(%rbx), %edi
	incl	%edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_uvc_ctrl_get_flags
	movl	$1, (%rbx)
	movq	_UVC_TRACE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	movl	28(%rbx), %ecx
	movq	(%r14), %rax
	movl	(%rax), %r8d
	movq	16(%rbx), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	callq	_uvc_trace
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	negl	%ebx
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_kfree
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_CTRL_DATA_LAST,4,2         ## @UVC_CTRL_DATA_LAST
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UVC_TRACE_CONTROL,4,2          ## @UVC_TRACE_CONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Added control %pUl/%u to device %s entity %u\n"

	.no_dead_strip	_uvc_ctrl_add_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_add_info
_uvc_ctrl_add_info:                     ; @uvc_ctrl_add_info
	.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
	ldr	q0, [x2]
	stur	q0, [x1, #24]
	add	x0, x1, #36
	bl	_INIT_LIST_HEAD
	ldr	w8, [x19, #24]
Lloh0:
	adrp	x9, _UVC_CTRL_DATA_LAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UVC_CTRL_DATA_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w10, wzr, #0x1
	madd	w0, w9, w8, w10
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x2, x19, #24
	mov	x0, x20
	mov	x1, x19
	bl	_uvc_ctrl_get_flags
	mov	w8, #1
	str	w8, [x19]
Lloh6:
	adrp	x8, _UVC_TRACE_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UVC_TRACE_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #28]
	ldr	x8, [x20]
	ldr	w4, [x8]
	ldr	x8, [x19, #16]
	ldr	w5, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_uvc_trace
	mov	w19, #0
	b	LBB0_4
LBB0_2:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w19, w8
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, #0
	bl	_kfree
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_CTRL_DATA_LAST,4,2         ; @UVC_CTRL_DATA_LAST
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UVC_TRACE_CONTROL,4,2          ; @UVC_TRACE_CONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Added control %pUl/%u to device %s entity %u\n"

	.no_dead_strip	_uvc_ctrl_add_info
.subsections_via_symbols
