	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_uds_create                ## -- Begin function vsp1_uds_create
	.p2align	4, 0x90
_vsp1_uds_create:                       ## @vsp1_uds_create
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_uds_entity_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_VSP1_ENTITY_UDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	%r15d, (%rbx)
	leaq	L_.str(%rip), %rsi
	leaq	-38(%rbp), %r12
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_sprintf
	movq	_MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_uds_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	_vsp1_entity_init
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_uds_entity_ops,4,2             ## @uds_entity_ops
	.comm	_VSP1_ENTITY_UDS,4,2            ## @VSP1_ENTITY_UDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uds.%u"

	.comm	_uds_ops,4,2                    ## @uds_ops
	.comm	_MEDIA_ENT_F_PROC_VIDEO_SCALER,4,2 ## @MEDIA_ENT_F_PROC_VIDEO_SCALER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_uds_create                ; -- Begin function vsp1_uds_create
	.p2align	2
_vsp1_uds_create:                       ; @vsp1_uds_create
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _uds_entity_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uds_entity_ops@GOTPAGEOFF]
	str	x8, [x0, #8]
Lloh5:
	adrp	x8, _VSP1_ENTITY_UDS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VSP1_ENTITY_UDS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w21, w8, [x0]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #10
	mov	x2, x21
	bl	_sprintf
Lloh10:
	adrp	x8, _MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MEDIA_ENT_F_PROC_VIDEO_SCALER@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
Lloh13:
	adrp	x4, _uds_ops@GOTPAGE
Lloh14:
	ldr	x4, [x4, _uds_ops@GOTPAGEOFF]
	add	x2, sp, #10
	mov	x0, x20
	mov	x1, x19
	mov	w3, #2
	bl	_vsp1_entity_init
	tbz	w0, #31, LBB0_3
; %bb.2:
	bl	_ERR_PTR
	mov	x19, x0
LBB0_3:
	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_4:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_uds_entity_ops,4,2             ; @uds_entity_ops
	.comm	_VSP1_ENTITY_UDS,4,2            ; @VSP1_ENTITY_UDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uds.%u"

	.comm	_uds_ops,4,2                    ; @uds_ops
	.comm	_MEDIA_ENT_F_PROC_VIDEO_SCALER,4,2 ; @MEDIA_ENT_F_PROC_VIDEO_SCALER
.subsections_via_symbols
