	.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, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_drm_property_flags_valid
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	callq	_strlen
	movq	_DRM_PROP_NAME_LEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	leaq	36(%rbx), %rsi
	movq	_DRM_MODE_OBJECT_PROPERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_drm_mode_object_add
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movq	16(%rbx), %rdi
	jmp	LBB0_8
LBB0_11:
	movl	%r13d, 32(%rbx)
	movl	%r12d, (%rbx)
	leaq	28(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	8(%rbx), %rdi
	movq	_DRM_PROP_NAME_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_strncpy
	movq	8(%rbx), %rax
	movslq	(%r12), %rcx
	movb	$0, -1(%rcx,%rax)
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	jmp	LBB0_10
LBB0_5:
	xorl	%edi, %edi
LBB0_8:
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_PROP_NAME_LEN,4,2          ## @DRM_PROP_NAME_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DRM_MODE_OBJECT_PROPERTY,4,2   ## @DRM_MODE_OBJECT_PROPERTY
.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_drm_property_flags_valid
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_8
; %bb.1:
	mov	x0, x21
	bl	_strlen
Lloh0:
	adrp	x24, _DRM_PROP_NAME_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DRM_PROP_NAME_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	cset	w0, ge
	bl	_WARN_ON
	cbnz	x0, LBB0_8
; %bb.2:
Lloh2:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #48
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.3:
	str	x19, [x20, #40]
	cbz	w22, LBB0_5
; %bb.4:
	ldr	w2, [x25]
	mov	x0, x22
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_7
LBB0_5:
	add	x1, x20, #36
Lloh4:
	adrp	x8, _DRM_MODE_OBJECT_PROPERTY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRM_MODE_OBJECT_PROPERTY@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_drm_mode_object_add
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x0, [x20, #16]
LBB0_7:
	bl	_kfree
	mov	x0, x20
	bl	_kfree
LBB0_8:
	mov	x20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	str	w23, [x20, #32]
	str	w22, [x20]
	add	x0, x20, #28
	bl	_INIT_LIST_HEAD
	ldr	x0, [x20, #8]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_strncpy
	ldr	x8, [x20, #8]
	ldrsw	x9, [x24]
	add	x8, x9, x8
	sturb	wzr, [x8, #-1]
	add	x0, x20, #24
	mov	x1, x19
	bl	_list_add_tail
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_PROP_NAME_LEN,4,2          ; @DRM_PROP_NAME_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DRM_MODE_OBJECT_PROPERTY,4,2   ; @DRM_MODE_OBJECT_PROPERTY
.subsections_via_symbols
