	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_phy_configure_lanes
_hdmi_phy_configure_lanes:              ## @hdmi_phy_configure_lanes
	.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	(%rdi), %rax
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	shll	$12, %edx
	shll	$8, %esi
	orl	%edx, %esi
	movl	8(%rax), %r14d
	shll	$4, %r14d
	orl	%esi, %r14d
	orl	12(%rax), %r14d
	movl	(%rcx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rcx), %ebx
	movl	8(%rcx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	12(%rcx), %r12d
	leaq	_hdmi_phy_configure_lanes.pad_cfg_list(%rip), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movl	$0, %r15d
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_4:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_5:
	leaq	_hdmi_phy_configure_lanes.pad_cfg_list(%rip), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %r15d
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	movl	$0, %edx
	cmovel	%r15d, %edx
	shll	$3, %ebx
	orl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	shll	$2, %eax
	addl	%r12d, %r12d
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %edi
	movq	_HDMI_TXPHY_PAD_CFG_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$26, %ecx
	movl	$22, %r8d
	callq	_REG_FLD_MOD
	movl	16(%rbx), %edi
	movl	(%r14), %esi
	movl	%r12d, %edx
	movl	$30, %ecx
	movl	$27, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_FLD_MOD                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @hdmi_phy_configure_lanes.pad_cfg_list
_hdmi_phy_configure_lanes.pad_cfg_list:
	.long	291                             ## 0x123
	.long	306                             ## 0x132
	.long	786                             ## 0x312
	.long	801                             ## 0x321
	.long	561                             ## 0x231
	.long	531                             ## 0x213
	.long	4131                            ## 0x1023
	.long	4146                            ## 0x1032
	.long	12306                           ## 0x3012
	.long	12321                           ## 0x3021
	.long	8241                            ## 0x2031
	.long	8211                            ## 0x2013
	.long	4611                            ## 0x1203
	.long	4866                            ## 0x1302
	.long	12546                           ## 0x3102
	.long	12801                           ## 0x3201
	.long	8961                            ## 0x2301
	.long	8451                            ## 0x2103
	.long	4656                            ## 0x1230
	.long	4896                            ## 0x1320
	.long	12576                           ## 0x3120
	.long	12816                           ## 0x3210
	.long	8976                            ## 0x2310
	.long	8496                            ## 0x2130

	.comm	_HDMI_TXPHY_PAD_CFG_CTRL,4,2    ## @HDMI_TXPHY_PAD_CFG_CTRL
	.no_dead_strip	_hdmi_phy_configure_lanes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_phy_configure_lanes
_hdmi_phy_configure_lanes:              ; @hdmi_phy_configure_lanes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x8, x9, [x0]
	ldp	w28, w21, [x8]
	ldp	w27, w26, [x8, #8]
	ldp	w22, w8, [x9]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldp	w23, w24, [x9, #8]
Lloh0:
	adrp	x20, _hdmi_phy_configure_lanes.pad_cfg_list@PAGE
Lloh1:
	add	x20, x20, _hdmi_phy_configure_lanes.pad_cfg_list@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x25, #0
	lsl	w8, w21, #8
	orr	w8, w8, w28, lsl #12
	orr	w8, w8, w27, lsl #4
	orr	w26, w26, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x25, lsl #2]
	cmp	w8, w26
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x25, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w25, #0
LBB0_5:
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
Lloh2:
	adrp	x0, _hdmi_phy_configure_lanes.pad_cfg_list@PAGE
Lloh3:
	add	x0, x0, _hdmi_phy_configure_lanes.pad_cfg_list@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w25, w0
	cset	w0, eq
	bl	_WARN_ON
	cmp	x0, #0
	csel	w2, w25, wzr, eq
	orr	w8, w22, w20, lsl #3
	orr	w8, w8, w23, lsl #2
	orr	w20, w8, w24, lsl #1
	ldr	w0, [x19, #16]
Lloh4:
	adrp	x21, _HDMI_TXPHY_PAD_CFG_CTRL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _HDMI_TXPHY_PAD_CFG_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w3, #26
	mov	w4, #22
	bl	_REG_FLD_MOD
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	mov	x2, x20
	mov	w3, #30
	mov	w4, #27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_REG_FLD_MOD
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @hdmi_phy_configure_lanes.pad_cfg_list
_hdmi_phy_configure_lanes.pad_cfg_list:
	.long	291                             ; 0x123
	.long	306                             ; 0x132
	.long	786                             ; 0x312
	.long	801                             ; 0x321
	.long	561                             ; 0x231
	.long	531                             ; 0x213
	.long	4131                            ; 0x1023
	.long	4146                            ; 0x1032
	.long	12306                           ; 0x3012
	.long	12321                           ; 0x3021
	.long	8241                            ; 0x2031
	.long	8211                            ; 0x2013
	.long	4611                            ; 0x1203
	.long	4866                            ; 0x1302
	.long	12546                           ; 0x3102
	.long	12801                           ; 0x3201
	.long	8961                            ; 0x2301
	.long	8451                            ; 0x2103
	.long	4656                            ; 0x1230
	.long	4896                            ; 0x1320
	.long	12576                           ; 0x3120
	.long	12816                           ; 0x3210
	.long	8976                            ; 0x2310
	.long	8496                            ; 0x2130

	.comm	_HDMI_TXPHY_PAD_CFG_CTRL,4,2    ; @HDMI_TXPHY_PAD_CFG_CTRL
	.no_dead_strip	_hdmi_phy_configure_lanes
.subsections_via_symbols
