	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_parse_property
_phy_parse_property:                    ## @phy_parse_property
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	_PHY_TYPE_USB2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	24(%rsi), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_property_read_bool
	movl	%eax, 20(%rbx)
	leaq	16(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_property_read_u32
	leaq	12(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_property_read_u32
	leaq	8(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_property_read_u32
	movl	20(%rbx), %edx
	movl	16(%rbx), %ecx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r8d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TYPE_USB2,8,3              ## @PHY_TYPE_USB2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mediatek,bc12"

L_.str.1:                               ## @.str.1
	.asciz	"mediatek,eye-src"

L_.str.2:                               ## @.str.2
	.asciz	"mediatek,eye-vrt"

L_.str.3:                               ## @.str.3
	.asciz	"mediatek,eye-term"

L_.str.4:                               ## @.str.4
	.asciz	"bc12:%d, src:%d, vrt:%d, term:%d\n"

	.no_dead_strip	_phy_parse_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_parse_property
_phy_parse_property:                    ; @phy_parse_property
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PHY_TYPE_USB2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_TYPE_USB2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x20, [x1, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	str	w0, [x19, #20]
	add	x2, x19, #16
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	add	x2, x19, #12
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	add	x2, x19, #8
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	ldp	w3, w2, [x19, #16]
	ldp	w5, w4, [x19, #8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_dbg
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TYPE_USB2,8,3              ; @PHY_TYPE_USB2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mediatek,bc12"

l_.str.1:                               ; @.str.1
	.asciz	"mediatek,eye-src"

l_.str.2:                               ; @.str.2
	.asciz	"mediatek,eye-vrt"

l_.str.3:                               ; @.str.3
	.asciz	"mediatek,eye-term"

l_.str.4:                               ; @.str.4
	.asciz	"bc12:%d, src:%d, vrt:%d, term:%d\n"

	.no_dead_strip	_phy_parse_property
.subsections_via_symbols
