	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_property_create            ## -- Begin function drm_property_create
	.p2align	4, 0x90
_drm_property_create:                   ## @drm_property_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	%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
	movl	%ecx, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.2:
	leal	(,%r12,4), %edi
	movl	(%r15), %esi
	callq	_kzalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	leaq	32(%rbx), %rsi
	movq	_DRM_MODE_OBJECT_PROPERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_drm_mode_object_get
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	16(%rbx), %rdi
	jmp	LBB0_4
LBB0_8:
	movl	%r13d, (%rbx)
	movl	%r12d, 4(%rbx)
	leaq	28(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	8(%rbx), %rdi
	movq	_DRM_PROP_NAME_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_strncpy
	movq	8(%rbx), %rax
	movslq	(%r15), %rcx
	movb	$0, -1(%rcx,%rax)
LBB0_10:
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	jmp	LBB0_11
LBB0_3:
	movq	%rax, %rdi
LBB0_4:
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DRM_MODE_OBJECT_PROPERTY,4,2   ## @DRM_MODE_OBJECT_PROPERTY
	.comm	_DRM_PROP_NAME_LEN,4,2          ## @DRM_PROP_NAME_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_property_create            ; -- Begin function drm_property_create
	.p2align	2
_drm_property_create:                   ; @drm_property_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #40
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	cbz	w22, LBB0_3
; %bb.2:
	lsl	w0, w22, #2
	ldr	w1, [x24]
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_5
LBB0_3:
	add	x1, x19, #32
Lloh2:
	adrp	x8, _DRM_MODE_OBJECT_PROPERTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DRM_MODE_OBJECT_PROPERTY@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_drm_mode_object_get
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x0, [x19, #16]
LBB0_5:
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_9
LBB0_6:
	stp	w23, w22, [x19]
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	cbz	x21, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x22, _DRM_PROP_NAME_LEN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DRM_PROP_NAME_LEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_strncpy
	ldr	x8, [x19, #8]
	ldrsw	x9, [x22]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
LBB0_8:
	add	x0, x19, #24
	mov	x1, x20
	bl	_list_add_tail
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DRM_MODE_OBJECT_PROPERTY,4,2   ; @DRM_MODE_OBJECT_PROPERTY
	.comm	_DRM_PROP_NAME_LEN,4,2          ; @DRM_PROP_NAME_LEN
.subsections_via_symbols
