	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_set_cts_n
_hdmi_set_cts_n:                        ## @hdmi_set_cts_n
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_HDMI_AUD_CTS3_CTS_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_AUD_CTS3@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_hdmi_modb
	movq	_HDMI_AUD_CTS3_N_SHIFT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hdmi_modb
	movl	%r13d, %r12d
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	movl	%r12d, %ebx
	shrl	$16, %ebx
	movq	_HDMI_AUD_CTS3_AUDCTS19_16_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_HDMI_AUD_CTS3_CTS_MANUAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_2:
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hdmi_writeb
	movl	%r12d, %ebx
	movzbl	%bh, %esi
	movq	_HDMI_AUD_CTS2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movzbl	%bl, %esi
	movq	_HDMI_AUD_CTS1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	shrl	$16, %esi
	andl	$15, %esi
	movq	_HDMI_AUD_N3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movzbl	%bh, %esi
	movq	_HDMI_AUD_N2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hdmi_writeb
	movzbl	%bl, %esi
	movq	_HDMI_AUD_N1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_writeb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_AUD_CTS3_CTS_MANUAL,4,2   ## @HDMI_AUD_CTS3_CTS_MANUAL
	.comm	_HDMI_AUD_CTS3,4,2              ## @HDMI_AUD_CTS3
	.comm	_HDMI_AUD_CTS3_N_SHIFT_MASK,4,2 ## @HDMI_AUD_CTS3_N_SHIFT_MASK
	.comm	_HDMI_AUD_CTS3_AUDCTS19_16_MASK,4,2 ## @HDMI_AUD_CTS3_AUDCTS19_16_MASK
	.comm	_HDMI_AUD_CTS2,4,2              ## @HDMI_AUD_CTS2
	.comm	_HDMI_AUD_CTS1,4,2              ## @HDMI_AUD_CTS1
	.comm	_HDMI_AUD_N3,4,2                ## @HDMI_AUD_N3
	.comm	_HDMI_AUD_N2,4,2                ## @HDMI_AUD_N2
	.comm	_HDMI_AUD_N1,4,2                ## @HDMI_AUD_N1
	.no_dead_strip	_hdmi_set_cts_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_set_cts_n
_hdmi_set_cts_n:                        ; @hdmi_set_cts_n
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _HDMI_AUD_CTS3_CTS_MANUAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HDMI_AUD_CTS3_CTS_MANUAL@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh2:
	adrp	x22, _HDMI_AUD_CTS3@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HDMI_AUD_CTS3@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w1, #0
	bl	_hdmi_modb
Lloh4:
	adrp	x8, _HDMI_AUD_CTS3_N_SHIFT_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_AUD_CTS3_N_SHIFT_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_hdmi_modb
	cbz	w21, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _HDMI_AUD_CTS3_AUDCTS19_16_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_AUD_CTS3_AUDCTS19_16_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w8, w8, w21, lsr #16
	ldr	w9, [x23]
	orr	w1, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w1, #0
LBB0_3:
	ldr	w2, [x22]
	mov	x0, x19
	bl	_hdmi_writeb
	ubfx	w1, w21, #8, #8
Lloh10:
	adrp	x8, _HDMI_AUD_CTS2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMI_AUD_CTS2@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	and	w1, w21, #0xff
Lloh13:
	adrp	x8, _HDMI_AUD_CTS1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDMI_AUD_CTS1@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	ubfx	w1, w20, #16, #4
Lloh16:
	adrp	x8, _HDMI_AUD_N3@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HDMI_AUD_N3@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	ubfx	w1, w20, #8, #8
Lloh19:
	adrp	x8, _HDMI_AUD_N2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDMI_AUD_N2@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	and	w1, w20, #0xff
Lloh22:
	adrp	x8, _HDMI_AUD_N1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDMI_AUD_N1@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hdmi_writeb
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_AUD_CTS3_CTS_MANUAL,4,2   ; @HDMI_AUD_CTS3_CTS_MANUAL
	.comm	_HDMI_AUD_CTS3,4,2              ; @HDMI_AUD_CTS3
	.comm	_HDMI_AUD_CTS3_N_SHIFT_MASK,4,2 ; @HDMI_AUD_CTS3_N_SHIFT_MASK
	.comm	_HDMI_AUD_CTS3_AUDCTS19_16_MASK,4,2 ; @HDMI_AUD_CTS3_AUDCTS19_16_MASK
	.comm	_HDMI_AUD_CTS2,4,2              ; @HDMI_AUD_CTS2
	.comm	_HDMI_AUD_CTS1,4,2              ; @HDMI_AUD_CTS1
	.comm	_HDMI_AUD_N3,4,2                ; @HDMI_AUD_N3
	.comm	_HDMI_AUD_N2,4,2                ; @HDMI_AUD_N2
	.comm	_HDMI_AUD_N1,4,2                ; @HDMI_AUD_N1
	.no_dead_strip	_hdmi_set_cts_n
.subsections_via_symbols
