	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_edid
_read_edid:                             ## @read_edid
	.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	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_hdmi_runtime_get
	movl	%eax, %edi
	callq	_BUG_ON
	movl	4(%rbx), %edi
	movq	_HDMI_WP_SYSCONFIG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$3, %edx
	movl	$2, %ecx
	callq	_REG_GET
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	movl	(%r13), %esi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$2, %r8d
	callq	_REG_FLD_MOD
	leaq	8(%rbx), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_hdmi5_read_edid
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	movl	(%r13), %esi
	movl	%r12d, %edx
	movl	$3, %ecx
	movl	$2, %r8d
	callq	_REG_FLD_MOD
	movq	%rbx, %rdi
	callq	_hdmi_runtime_put
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_WP_SYSCONFIG,4,2          ## @HDMI_WP_SYSCONFIG
	.no_dead_strip	_read_edid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_edid
_read_edid:                             ; @read_edid
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_hdmi_runtime_get
	bl	_BUG_ON
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x23, _HDMI_WP_SYSCONFIG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HDMI_WP_SYSCONFIG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #3
	mov	w3, #2
	bl	_REG_GET
	mov	x22, x0
	ldr	w0, [x19, #4]
	ldr	w1, [x23]
	mov	w2, #1
	mov	w3, #3
	mov	w4, #2
	bl	_REG_FLD_MOD
	add	x0, x19, #8
	mov	x1, x21
	mov	x2, x20
	bl	_hdmi5_read_edid
	mov	x20, x0
	ldr	w0, [x19, #4]
	ldr	w1, [x23]
	mov	x2, x22
	mov	w3, #3
	mov	w4, #2
	bl	_REG_FLD_MOD
	mov	x0, x19
	bl	_hdmi_runtime_put
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_WP_SYSCONFIG,4,2          ; @HDMI_WP_SYSCONFIG
	.no_dead_strip	_read_edid
.subsections_via_symbols
