	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_start
_hdmi_start:                            ## @hdmi_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_HDMI_TG_EN@GOTPCREL(%rip), %r15
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
LBB0_2:
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_HDMI_FIELD_EN@GOTPCREL(%rip), %r12
	andl	(%rax), %ebx
	je	LBB0_4
## %bb.3:
	movl	(%r12), %ebx
LBB0_4:
	orl	%esi, %ebx
	movq	_HDMI_CON_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_hdmi_reg_writemask
	movq	_HDMI_TG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	orl	(%r15), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_reg_writemask             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_TG_EN,4,2                 ## @HDMI_TG_EN
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_HDMI_FIELD_EN,4,2              ## @HDMI_FIELD_EN
	.comm	_HDMI_CON_0,4,2                 ## @HDMI_CON_0
	.comm	_HDMI_EN,4,2                    ## @HDMI_EN
	.comm	_HDMI_TG_CMD,4,2                ## @HDMI_TG_CMD
	.no_dead_strip	_hdmi_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_start
_hdmi_start:                            ; @hdmi_start
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x21, _HDMI_TG_EN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HDMI_TG_EN@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w1, #0
	csel	w9, wzr, w9, eq
	ldr	w8, [x8]
Lloh2:
	adrp	x10, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x22, _HDMI_FIELD_EN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _HDMI_FIELD_EN@GOTPAGEOFF]
	ldr	w11, [x22]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w20, w8, w9
Lloh7:
	adrp	x8, _HDMI_CON_0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_CON_0@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _HDMI_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMI_EN@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x2, x20
	bl	_hdmi_reg_writemask
Lloh13:
	adrp	x8, _HDMI_TG_CMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDMI_TG_CMD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x2, x20
	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
	b	_hdmi_reg_writemask
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_TG_EN,4,2                 ; @HDMI_TG_EN
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_HDMI_FIELD_EN,4,2              ; @HDMI_FIELD_EN
	.comm	_HDMI_CON_0,4,2                 ; @HDMI_CON_0
	.comm	_HDMI_EN,4,2                    ; @HDMI_EN
	.comm	_HDMI_TG_CMD,4,2                ; @HDMI_TG_CMD
	.no_dead_strip	_hdmi_start
.subsections_via_symbols
