	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_connector_update_edid_property ## -- Begin function drm_connector_update_edid_property
	.p2align	4, 0x90
_drm_connector_update_edid_property:    ## @drm_connector_update_edid_property
	.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
	xorl	%eax, %eax
	cmpq	$0, 16(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_EDID_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	(%r14), %r12
	incq	%r12
	imulq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_drm_add_display_info
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_drm_reset_display_info
	xorl	%r12d, %r12d
LBB0_4:
	movl	4(%r15), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_drm_object_property_set_value
	leaq	4(%rbx), %rsi
	movl	(%r15), %r9d
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_drm_property_replace_global_blob
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_connector_set_tile_property ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EDID_LENGTH,4,2                ## @EDID_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_connector_update_edid_property ; -- Begin function drm_connector_update_edid_property
	.p2align	2
_drm_connector_update_edid_property:    ; @drm_connector_update_edid_property
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	cbz	x1, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _EDID_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDID_LENGTH@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldrsw	x9, [x20]
	madd	x22, x8, x9, x8
	mov	x0, x19
	mov	x1, x20
	bl	_drm_add_display_info
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_drm_reset_display_info
	mov	x22, #0
LBB0_5:
	ldr	w1, [x21, #4]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_drm_object_property_set_value
	add	x1, x19, #4
	ldr	w5, [x21]
	mov	x0, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_drm_property_replace_global_blob
	cbz	w0, LBB0_7
LBB0_6:
	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
LBB0_7:
	mov	x0, x19
	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
	b	_drm_connector_set_tile_property
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDID_LENGTH,4,2                ; @EDID_LENGTH
.subsections_via_symbols
