	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ext_hdmi_settings
_get_ext_hdmi_settings:                 ## @get_ext_hdmi_settings
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.1:
	testb	$32, (%rbx)
	je	LBB0_20
## %bb.2:
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_20
## %bb.3:
	movq	%rdx, %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	56(%rbx), %rax
	movq	%rax, (%r15)
	movl	64(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movq	24(%r15), %rdi
	movl	72(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	addq	$68, %rbx
	jmp	LBB0_8
LBB0_6:
	movq	40(%rbx), %rax
	movq	%rax, (%r15)
	movl	48(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movq	24(%r15), %rdi
	movl	80(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	addq	$76, %rbx
	jmp	LBB0_8
LBB0_5:
	movq	24(%rbx), %rax
	movq	%rax, (%r15)
	movl	32(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movq	24(%r15), %rdi
	movl	88(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	addq	$84, %rbx
	jmp	LBB0_8
LBB0_4:
	movq	8(%rbx), %rax
	movq	%rax, (%r15)
	movl	16(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movq	24(%r15), %rdi
	movl	96(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	addq	$92, %rbx
LBB0_8:
	movq	16(%r15), %rdi
	movl	(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	cmpq	$0, (%r15)
	je	LBB0_20
## %bb.9:
	movl	8(%r15), %ecx
	cmpl	$9, %ecx
	jg	LBB0_20
## %bb.10:
	movl	12(%r15), %eax
	cmpl	$3, %eax
	jg	LBB0_20
## %bb.11:
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.12:
	movq	24(%r15), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$32, (%rdx,%rsi,4)
	jg	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_13
LBB0_15:
	movl	$1, %r14d
	testl	%eax, %eax
	jle	LBB0_20
## %bb.16:
	movq	16(%r15), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$33, (%rcx,%rdx,4)
	jge	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_18
	jmp	LBB0_20
LBB0_19:
	xorl	%r14d, %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_get_ext_hdmi_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ext_hdmi_settings
_get_ext_hdmi_settings:                 ; @get_ext_hdmi_settings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	cbz	x20, LBB0_11
; %bb.1:
	ldrb	w8, [x20]
	tbz	w8, #5, LBB0_11
; %bb.2:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.3:
	mov	x19, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [x20, #56]
	str	x8, [x19]
	ldr	w8, [x20, #64]
	stp	w8, w8, [x19, #8]
	ldr	x0, [x19, #24]
	ldr	w1, [x20, #72]
	mov	w2, #4
	bl	_memmove
	add	x8, x20, #68
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20, #40]
	str	x8, [x19]
	ldr	w8, [x20, #48]
	stp	w8, w8, [x19, #8]
	ldr	x0, [x19, #24]
	ldr	w1, [x20, #80]
	mov	w2, #4
	bl	_memmove
	add	x8, x20, #76
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20, #24]
	str	x8, [x19]
	ldr	w8, [x20, #32]
	stp	w8, w8, [x19, #8]
	ldr	x0, [x19, #24]
	ldr	w1, [x20, #88]
	mov	w2, #4
	bl	_memmove
	add	x8, x20, #84
	b	LBB0_8
LBB0_7:
	ldr	x8, [x20, #8]
	str	x8, [x19]
	ldr	w8, [x20, #16]
	stp	w8, w8, [x19, #8]
	ldr	x0, [x19, #24]
	ldr	w1, [x20, #96]
	mov	w2, #4
	bl	_memmove
	add	x8, x20, #92
LBB0_8:
	ldr	x0, [x19, #16]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memmove
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	w9, [x19, #8]
	cmp	w9, #9
	b.gt	LBB0_11
; %bb.10:
	ldr	w8, [x19, #12]
	cmp	w8, #3
	b.le	LBB0_13
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.14:
	ldr	x10, [x19, #24]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w11, #32
	b.gt	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x10, x10, #4
	subs	x9, x9, #1
	b.ne	LBB0_15
LBB0_17:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.18:
	ldr	x9, [x19, #16]
	mov	w0, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, #33
	b.ge	LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_19
	b	LBB0_12
LBB0_21:
	mov	w0, #1
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.no_dead_strip	_get_ext_hdmi_settings
.subsections_via_symbols
