	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_monitor_name
_get_monitor_name:                      ## @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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	movq	_monitor_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_drm_for_each_detailed_block
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movb	(%rax), %cl
	cmpb	$10, %cl
	je	LBB0_17
## %bb.4:
	movb	%cl, (%r14)
	movb	1(%rax), %cl
	movl	$1, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.5:
	movb	%cl, 1(%r14)
	movb	2(%rax), %cl
	movl	$2, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.6:
	movb	%cl, 2(%r14)
	movb	3(%rax), %cl
	movl	$3, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.7:
	movb	%cl, 3(%r14)
	movb	4(%rax), %cl
	movl	$4, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.8:
	movb	%cl, 4(%r14)
	movb	5(%rax), %cl
	movl	$5, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.9:
	movb	%cl, 5(%r14)
	movb	6(%rax), %cl
	movl	$6, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.10:
	movb	%cl, 6(%r14)
	movb	7(%rax), %cl
	movl	$7, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.11:
	movb	%cl, 7(%r14)
	movb	8(%rax), %cl
	movl	$8, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.12:
	movb	%cl, 8(%r14)
	movb	9(%rax), %cl
	movl	$9, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.13:
	movb	%cl, 9(%r14)
	movb	10(%rax), %cl
	movl	$10, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.14:
	movb	%cl, 10(%r14)
	movb	11(%rax), %cl
	movl	$11, %ebx
	cmpb	$10, %cl
	je	LBB0_17
## %bb.15:
	movb	%cl, 11(%r14)
	movb	12(%rax), %al
	movl	$12, %ebx
	cmpb	$10, %al
	je	LBB0_17
## %bb.16:
	movb	%al, 12(%r14)
	movl	$13, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_monitor_name,4,2               ## @monitor_name
	.no_dead_strip	_get_monitor_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_monitor_name
_get_monitor_name:                      ; @get_monitor_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x0
	mov	w0, #0
	str	xzr, [sp, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _monitor_name@GOTPAGE
Lloh1:
	ldr	x9, [x9, _monitor_name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x0, x8
	bl	_drm_for_each_detailed_block
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldrb	w9, [x8]
	cmp	w9, #10
	b.ne	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	strb	w9, [x19]
	ldrb	w9, [x8, #1]
	cmp	w9, #10
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #1
	b	LBB0_5
LBB0_8:
	strb	w9, [x19, #1]
	ldrb	w9, [x8, #2]
	cmp	w9, #10
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #2
	b	LBB0_5
LBB0_10:
	strb	w9, [x19, #2]
	ldrb	w9, [x8, #3]
	cmp	w9, #10
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #3
	b	LBB0_5
LBB0_12:
	strb	w9, [x19, #3]
	ldrb	w9, [x8, #4]
	cmp	w9, #10
	b.ne	LBB0_14
; %bb.13:
	mov	w0, #4
	b	LBB0_5
LBB0_14:
	strb	w9, [x19, #4]
	ldrb	w9, [x8, #5]
	cmp	w9, #10
	b.ne	LBB0_16
; %bb.15:
	mov	w0, #5
	b	LBB0_5
LBB0_16:
	strb	w9, [x19, #5]
	ldrb	w9, [x8, #6]
	cmp	w9, #10
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #6
	b	LBB0_5
LBB0_18:
	strb	w9, [x19, #6]
	ldrb	w9, [x8, #7]
	cmp	w9, #10
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #7
	b	LBB0_5
LBB0_20:
	strb	w9, [x19, #7]
	ldrb	w9, [x8, #8]
	cmp	w9, #10
	b.ne	LBB0_22
; %bb.21:
	mov	w0, #8
	b	LBB0_5
LBB0_22:
	strb	w9, [x19, #8]
	ldrb	w9, [x8, #9]
	cmp	w9, #10
	b.ne	LBB0_24
; %bb.23:
	mov	w0, #9
	b	LBB0_5
LBB0_24:
	strb	w9, [x19, #9]
	ldrb	w9, [x8, #10]
	cmp	w9, #10
	b.ne	LBB0_26
; %bb.25:
	mov	w0, #10
	b	LBB0_5
LBB0_26:
	strb	w9, [x19, #10]
	ldrb	w9, [x8, #11]
	cmp	w9, #10
	b.ne	LBB0_28
; %bb.27:
	mov	w0, #11
	b	LBB0_5
LBB0_28:
	strb	w9, [x19, #11]
	ldrb	w8, [x8, #12]
	cmp	w8, #10
	b.ne	LBB0_30
; %bb.29:
	mov	w0, #12
	b	LBB0_5
LBB0_30:
	strb	w8, [x19, #12]
	mov	w0, #13
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_monitor_name,4,2               ; @monitor_name
	.no_dead_strip	_get_monitor_name
.subsections_via_symbols
