	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_map_reg
_hdmi_map_reg:                          ## @hdmi_map_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	%esi, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	movq	_HDMI_MAPPED_BASE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_2
## %bb.1:
	movq	_hdmi_reg_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzwl	%ax, %eax
	movq	(%rcx,%rax,8), %rax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_MAPPED_BASE,4,2           ## @HDMI_MAPPED_BASE
	.comm	_hdmi_reg_map,8,3               ## @hdmi_reg_map
	.no_dead_strip	_hdmi_map_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_map_reg
_hdmi_map_reg:                          ; @hdmi_map_reg
	.cfi_startproc
; %bb.0:
	and	w8, w1, #0xffff0000
Lloh0:
	adrp	x9, _HDMI_MAPPED_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMI_MAPPED_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _hdmi_reg_map@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hdmi_reg_map@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	w9, w1, #0xffff
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
LBB0_2:
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_MAPPED_BASE,4,2           ; @HDMI_MAPPED_BASE
	.comm	_hdmi_reg_map,8,3               ; @hdmi_reg_map
	.no_dead_strip	_hdmi_map_reg
.subsections_via_symbols
