	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi5_configure                ## -- Begin function hdmi5_configure
	.p2align	4, 0x90
_hdmi5_configure:                       ## @hdmi5_configure
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_hdmi_core_mask_interrupts
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_hdmi_core_init
	leaq	-56(%rbp), %r13
	leaq	-64(%rbp), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_hdmi_wp_init_vid_fmt_timings
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hdmi_wp_video_config_timing
	movq	_HDMI_PACK_24b_RGB_YUV444_YUV422@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_hdmi_wp_video_config_format
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hdmi_wp_video_config_interface
	movq	%rbx, %rdi
	callq	_hdmi_core_configure_range
	movq	_HDMI_QUANTIZATION_RANGE_LIMITED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_HDMI_PACKETMODE24BITPERPIXEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_hdmi_core_video_config
	movq	%rbx, %rdi
	callq	_hdmi_core_config_video_packetizer
	movq	%rbx, %rdi
	callq	_hdmi_core_config_csc
	movq	%rbx, %rdi
	callq	_hdmi_core_config_video_sampler
	movq	(%r14), %rax
	movq	_HDMI_HDMI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	addq	$8, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_hdmi_core_write_avi_infoframe
LBB0_2:
	movq	%rbx, %rdi
	callq	_hdmi_core_enable_video_path
	movq	%rbx, %rdi
	callq	_hdmi_core_enable_interrupts
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_PACK_24b_RGB_YUV444_YUV422,4,2 ## @HDMI_PACK_24b_RGB_YUV444_YUV422
	.comm	_HDMI_QUANTIZATION_RANGE_LIMITED,4,2 ## @HDMI_QUANTIZATION_RANGE_LIMITED
	.comm	_HDMI_PACKETMODE24BITPERPIXEL,4,2 ## @HDMI_PACKETMODE24BITPERPIXEL
	.comm	_HDMI_HDMI,8,3                  ## @HDMI_HDMI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi5_configure                ; -- Begin function hdmi5_configure
	.p2align	2
_hdmi5_configure:                       ; @hdmi5_configure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_hdmi_core_mask_interrupts
	add	x0, sp, #8
	mov	x1, x20
	bl	_hdmi_core_init
	add	x0, sp, #16
	add	x1, sp, #24
	mov	x2, x20
	bl	_hdmi_wp_init_vid_fmt_timings
	add	x1, sp, #24
	mov	x0, x21
	bl	_hdmi_wp_video_config_timing
Lloh0:
	adrp	x8, _HDMI_PACK_24b_RGB_YUV444_YUV422@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_PACK_24b_RGB_YUV444_YUV422@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x1, sp, #16
	mov	x0, x21
	bl	_hdmi_wp_video_config_format
	add	x1, sp, #24
	mov	x0, x21
	bl	_hdmi_wp_video_config_interface
	mov	x0, x19
	bl	_hdmi_core_configure_range
Lloh3:
	adrp	x8, _HDMI_QUANTIZATION_RANGE_LIMITED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_QUANTIZATION_RANGE_LIMITED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x21, x20
	str	w8, [x21, #8]!
Lloh6:
	adrp	x8, _HDMI_PACKETMODE24BITPERPIXEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_PACKETMODE24BITPERPIXEL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_hdmi_core_video_config
	mov	x0, x19
	bl	_hdmi_core_config_video_packetizer
	mov	x0, x19
	bl	_hdmi_core_config_csc
	mov	x0, x19
	bl	_hdmi_core_config_video_sampler
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _HDMI_HDMI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HDMI_HDMI@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_hdmi_core_write_avi_infoframe
LBB0_2:
	mov	x0, x19
	bl	_hdmi_core_enable_video_path
	mov	x0, x19
	bl	_hdmi_core_enable_interrupts
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_PACK_24b_RGB_YUV444_YUV422,4,2 ; @HDMI_PACK_24b_RGB_YUV444_YUV422
	.comm	_HDMI_QUANTIZATION_RANGE_LIMITED,4,2 ; @HDMI_QUANTIZATION_RANGE_LIMITED
	.comm	_HDMI_PACKETMODE24BITPERPIXEL,4,2 ; @HDMI_PACKETMODE24BITPERPIXEL
	.comm	_HDMI_HDMI,8,3                  ; @HDMI_HDMI
.subsections_via_symbols
