	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3drm_object_get_class_name    ## -- Begin function d3drm_object_get_class_name
	.p2align	4, 0x90
_d3drm_object_get_class_name:           ## @d3drm_object_get_class_name
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_E_INVALIDARG@GOTPCREL(%rip), %r12
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_strlen
	leaq	1(%rax), %rdx
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	cmpq	%rax, (%rbx)
	jle	LBB0_6
## %bb.3:
	movq	%rdx, (%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_memcpy
	jmp	LBB0_5
LBB0_4:
	movq	%rdx, (%rbx)
LBB0_5:
	movq	_D3DRM_OK@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_INVALIDARG,4,2               ## @E_INVALIDARG
	.comm	_D3DRM_OK,4,2                   ## @D3DRM_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3drm_object_get_class_name    ; -- Begin function d3drm_object_get_class_name
	.p2align	2
_d3drm_object_get_class_name:           ; @d3drm_object_get_class_name
	.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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_strlen
	add	x2, x0, #1
	cbz	x19, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	cmp	x8, x0
	b.le	LBB0_4
; %bb.3:
	str	x2, [x20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_memcpy
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	str	x2, [x20]
LBB0_6:
Lloh2:
	adrp	x8, _D3DRM_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _D3DRM_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_E_INVALIDARG,4,2               ; @E_INVALIDARG
	.comm	_D3DRM_OK,4,2                   ; @D3DRM_OK
.subsections_via_symbols
