	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edid_show
_edid_show:                             ## @edid_show
	.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
	movq	%r9, %r12
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rsi, %rdi
	callq	_kobj_to_dev
	movq	%rax, %rdi
	callq	_to_drm_connector
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_mutex_lock
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rsi
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movq	%r13, %rdi
	movq	8(%rax), %rax
	movq	%rax, %r13
	subq	%r15, %r13
	jbe	LBB0_5
## %bb.4:
	leaq	(%r12,%r15), %rcx
	cmpq	%rax, %rcx
	cmovbeq	%r12, %r13
	addq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	%r13, %r14
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	movq	(%rbx), %rdi
	callq	_mutex_unlock
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_edid_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edid_show
_edid_show:                             ; @edid_show
	.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
	mov	x22, x5
	mov	x21, x4
	mov	x20, x3
	mov	x0, x1
	bl	_kobj_to_dev
	bl	_to_drm_connector
	mov	x19, x0
	ldr	x0, [x0]
	bl	_mutex_lock
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_2
; %bb.1:
	ldp	x8, x9, [x9]
	cmp	x8, #0
	ccmp	x9, x21, #0, ne
	b.hi	LBB0_3
LBB0_2:
	mov	x22, #0
	b	LBB0_4
LBB0_3:
	sub	x10, x9, x21
	add	x11, x22, x21
	cmp	x11, x9
	csel	x22, x10, x22, hi
	add	x1, x8, x21
	mov	x0, x20
	mov	x2, x22
	bl	_memcpy
LBB0_4:
	ldr	x0, [x19]
	bl	_mutex_unlock
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_edid_show
.subsections_via_symbols
