	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_edid_get_monitor_name      ## -- Begin function drm_edid_get_monitor_name
	.p2align	4, 0x90
_drm_edid_get_monitor_name:             ## @drm_edid_get_monitor_name
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testl	%edx, %edx
	jle	LBB0_2
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r14
	leaq	-45(%rbp), %r15
	movq	%r15, %rsi
	callq	_get_monitor_name
	decl	%ebx
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_min
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	movb	$0, (%r14,%rax)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_edid_get_monitor_name      ; -- Begin function drm_edid_get_monitor_name
	.p2align	2
_drm_edid_get_monitor_name:             ; @drm_edid_get_monitor_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	subs	w20, w2, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x1
	add	x1, sp, #11
	bl	_get_monitor_name
	mov	x1, x20
	bl	_min
	mov	x20, x0
	add	x1, sp, #11
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	strb	wzr, [x19, w20, sxtw]
LBB0_2:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
