	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_parse_lanes_of            ## -- Begin function hdmi_parse_lanes_of
	.p2align	4, 0x90
_hdmi_parse_lanes_of:                   ## @hdmi_parse_lanes_of
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_of_find_property
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movslq	-84(%rbp), %rbx
	shrq	$2, %rbx
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.3:
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_9:
	leaq	_hdmi_parse_lanes_of.default_lanes(%rip), %rsi
	movq	%r15, %rdi
	callq	_hdmi_phy_parse_lanes
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_5:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_hdmi_phy_parse_lanes
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	%eax, %ebx
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lanes"

L_.str.1:                               ## @.str.1
	.asciz	"bad number of lanes\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"failed to read lane data\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to parse lane data\n"

	.section	__TEXT,__const
	.p2align	4                               ## @hdmi_parse_lanes_of.default_lanes
_hdmi_parse_lanes_of.default_lanes:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	7                               ## 0x7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdmi_parse_lanes_of            ; -- Begin function hdmi_parse_lanes_of
	.p2align	2
_hdmi_parse_lanes_of:                   ; @hdmi_parse_lanes_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	mov	x0, x20
	bl	_of_find_property
	cbz	x0, LBB0_4
; %bb.1:
	ldrsw	x22, [sp, #4]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x22, lsr #2
	b.ne	LBB0_6
; %bb.2:
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x3, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_of_property_read_u32_array
	cbz	w0, LBB0_7
; %bb.3:
	mov	x20, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x1, _hdmi_parse_lanes_of.default_lanes@PAGE
Lloh10:
	add	x1, x1, _hdmi_parse_lanes_of.default_lanes@PAGEOFF
	mov	x0, x21
	bl	_hdmi_phy_parse_lanes
	mov	x20, x0
	bl	_WARN_ON
	cbnz	x0, LBB0_8
; %bb.5:
	mov	w20, #0
	b	LBB0_10
LBB0_6:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_7:
	add	x1, sp, #8
	mov	x0, x21
	bl	_hdmi_phy_parse_lanes
	mov	x20, x0
	cbz	w0, LBB0_10
LBB0_8:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_dev_err
LBB0_10:
	ldr	x8, [sp, #40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lanes"

l_.str.1:                               ; @.str.1
	.asciz	"bad number of lanes\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"failed to read lane data\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to parse lane data\n"

	.section	__TEXT,__const
	.p2align	2                               ; @hdmi_parse_lanes_of.default_lanes
_hdmi_parse_lanes_of.default_lanes:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	7                               ; 0x7

.subsections_via_symbols
