	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_gen2_phy_xlate
_rcar_gen2_phy_xlate:                   ## @rcar_gen2_phy_xlate
	.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, %r14
	movq	8(%rsi), %rbx
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	movq	8(%rax), %rax
	shlq	$4, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	8(%rax,%rdx), %rbx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
	jmp	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	(%r14), %rcx
	movslq	(%rcx), %rcx
	cmpq	$2, %rcx
	jl	LBB0_9
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_9:
	movq	(%rax,%rdx), %rax
	movq	(%rax,%rcx,8), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_rcar_gen2_phy_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_gen2_phy_xlate
_rcar_gen2_phy_xlate:                   ; @rcar_gen2_phy_xlate
	.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
	mov	x19, x1
	ldr	x20, [x1, #8]
	bl	_dev_get_drvdata
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x8, [x0, #8]
	add	x8, x8, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x20, x10
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #16
	subs	x9, x9, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	x9, [x19]
	ldrsw	x9, [x9]
	cmp	w9, #2
	b.lt	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_9:
	ldur	x8, [x8, #-8]
	ldr	x0, [x8, x9, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_rcar_gen2_phy_xlate
.subsections_via_symbols
