	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcm_usb_phy_xlate
_brcm_usb_phy_xlate:                    ## @brcm_usb_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, %rbx
	movq	%rdi, %r14
	callq	_dev_get_drvdata
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	cmpl	$127, %ecx
	jg	LBB0_5
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.2:
	cmpl	$1, %ecx
	je	LBB0_3
	jmp	LBB0_10
LBB0_5:
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.6:
	cmpl	$129, %ecx
	jne	LBB0_10
LBB0_7:
	movq	(%rax), %rax
	movq	_BRCM_USB_PHY_2_0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_3:
	movq	(%rax), %rax
	movq	_BRCM_USB_PHY_3_0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	callq	_dev_warn
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCM_USB_PHY_2_0,8,3           ## @BRCM_USB_PHY_2_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error, 2.0 Phy not found\n"

	.comm	_BRCM_USB_PHY_3_0,8,3           ## @BRCM_USB_PHY_3_0
L_.str.1:                               ## @.str.1
	.asciz	"Error, 3.0 Phy not found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_brcm_usb_phy_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcm_usb_phy_xlate
_brcm_usb_phy_xlate:                    ; @brcm_usb_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	x20, x1
	mov	x19, x0
	bl	_dev_get_drvdata
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #127
	b.gt	LBB0_3
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w8, #1
	b.eq	LBB0_7
	b	LBB0_11
LBB0_3:
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_11
LBB0_5:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRCM_USB_PHY_2_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCM_USB_PHY_2_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbnz	x0, LBB0_8
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _BRCM_USB_PHY_3_0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BRCM_USB_PHY_3_0@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_warn
LBB0_11:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCM_USB_PHY_2_0,8,3           ; @BRCM_USB_PHY_2_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error, 2.0 Phy not found\n"

	.comm	_BRCM_USB_PHY_3_0,8,3           ; @BRCM_USB_PHY_3_0
l_.str.1:                               ; @.str.1
	.asciz	"Error, 3.0 Phy not found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_brcm_usb_phy_xlate
.subsections_via_symbols
