	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_phy_interface
_to_phy_interface:                      ## @to_phy_interface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.10:
	movq	_PHY_INTERFACE_MODE_SGMII@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_PHY_INTERFACE_MODE_MII@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_12:
	movq	_PHY_INTERFACE_MODE_GMII@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_13:
	movq	_PHY_INTERFACE_MODE_TBI@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_PHY_INTERFACE_MODE_RMII@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_PHY_INTERFACE_MODE_RGMII@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_PHY_INTERFACE_MODE_RGMII_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	_PHY_INTERFACE_MODE_RGMII_TXID@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movq	_PHY_INTERFACE_MODE_RGMII_RXID@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_PHY_INTERFACE_MODE_RTBI@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mii"

	.comm	_PHY_INTERFACE_MODE_MII,4,2     ## @PHY_INTERFACE_MODE_MII
L_.str.1:                               ## @.str.1
	.asciz	"gmii"

	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ## @PHY_INTERFACE_MODE_GMII
L_.str.2:                               ## @.str.2
	.asciz	"tbi"

	.comm	_PHY_INTERFACE_MODE_TBI,4,2     ## @PHY_INTERFACE_MODE_TBI
L_.str.3:                               ## @.str.3
	.asciz	"rmii"

	.comm	_PHY_INTERFACE_MODE_RMII,4,2    ## @PHY_INTERFACE_MODE_RMII
L_.str.4:                               ## @.str.4
	.asciz	"rgmii"

	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ## @PHY_INTERFACE_MODE_RGMII
L_.str.5:                               ## @.str.5
	.asciz	"rgmii-id"

	.comm	_PHY_INTERFACE_MODE_RGMII_ID,4,2 ## @PHY_INTERFACE_MODE_RGMII_ID
L_.str.6:                               ## @.str.6
	.asciz	"rgmii-txid"

	.comm	_PHY_INTERFACE_MODE_RGMII_TXID,4,2 ## @PHY_INTERFACE_MODE_RGMII_TXID
L_.str.7:                               ## @.str.7
	.asciz	"rgmii-rxid"

	.comm	_PHY_INTERFACE_MODE_RGMII_RXID,4,2 ## @PHY_INTERFACE_MODE_RGMII_RXID
L_.str.8:                               ## @.str.8
	.asciz	"rtbi"

	.comm	_PHY_INTERFACE_MODE_RTBI,4,2    ## @PHY_INTERFACE_MODE_RTBI
L_.str.9:                               ## @.str.9
	.asciz	"sgmii"

	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ## @PHY_INTERFACE_MODE_SGMII
	.no_dead_strip	_to_phy_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_phy_interface
_to_phy_interface:                      ; @to_phy_interface
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
Lloh2:
	adrp	x20, _PHY_INTERFACE_MODE_MII@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_MII@GOTPAGEOFF]
	cbz	x0, LBB0_18
; %bb.1:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.2:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.4:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_13
; %bb.5:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_14
; %bb.6:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_15
; %bb.7:
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_16
; %bb.8:
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_17
; %bb.9:
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
Lloh22:
	adrp	x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_SGMII@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x20, eq
	b	LBB0_18
LBB0_10:
Lloh24:
	adrp	x20, _PHY_INTERFACE_MODE_GMII@GOTPAGE
Lloh25:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_GMII@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
Lloh26:
	adrp	x20, _PHY_INTERFACE_MODE_TBI@GOTPAGE
Lloh27:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_TBI@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
Lloh28:
	adrp	x20, _PHY_INTERFACE_MODE_RMII@GOTPAGE
Lloh29:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RMII@GOTPAGEOFF]
	b	LBB0_18
LBB0_13:
Lloh30:
	adrp	x20, _PHY_INTERFACE_MODE_RGMII@GOTPAGE
Lloh31:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RGMII@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
Lloh32:
	adrp	x20, _PHY_INTERFACE_MODE_RGMII_ID@GOTPAGE
Lloh33:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RGMII_ID@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh34:
	adrp	x20, _PHY_INTERFACE_MODE_RGMII_TXID@GOTPAGE
Lloh35:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RGMII_TXID@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh36:
	adrp	x20, _PHY_INTERFACE_MODE_RGMII_RXID@GOTPAGE
Lloh37:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RGMII_RXID@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh38:
	adrp	x20, _PHY_INTERFACE_MODE_RTBI@GOTPAGE
Lloh39:
	ldr	x20, [x20, _PHY_INTERFACE_MODE_RTBI@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mii"

	.comm	_PHY_INTERFACE_MODE_MII,4,2     ; @PHY_INTERFACE_MODE_MII
l_.str.1:                               ; @.str.1
	.asciz	"gmii"

	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ; @PHY_INTERFACE_MODE_GMII
l_.str.2:                               ; @.str.2
	.asciz	"tbi"

	.comm	_PHY_INTERFACE_MODE_TBI,4,2     ; @PHY_INTERFACE_MODE_TBI
l_.str.3:                               ; @.str.3
	.asciz	"rmii"

	.comm	_PHY_INTERFACE_MODE_RMII,4,2    ; @PHY_INTERFACE_MODE_RMII
l_.str.4:                               ; @.str.4
	.asciz	"rgmii"

	.comm	_PHY_INTERFACE_MODE_RGMII,4,2   ; @PHY_INTERFACE_MODE_RGMII
l_.str.5:                               ; @.str.5
	.asciz	"rgmii-id"

	.comm	_PHY_INTERFACE_MODE_RGMII_ID,4,2 ; @PHY_INTERFACE_MODE_RGMII_ID
l_.str.6:                               ; @.str.6
	.asciz	"rgmii-txid"

	.comm	_PHY_INTERFACE_MODE_RGMII_TXID,4,2 ; @PHY_INTERFACE_MODE_RGMII_TXID
l_.str.7:                               ; @.str.7
	.asciz	"rgmii-rxid"

	.comm	_PHY_INTERFACE_MODE_RGMII_RXID,4,2 ; @PHY_INTERFACE_MODE_RGMII_RXID
l_.str.8:                               ; @.str.8
	.asciz	"rtbi"

	.comm	_PHY_INTERFACE_MODE_RTBI,4,2    ; @PHY_INTERFACE_MODE_RTBI
l_.str.9:                               ; @.str.9
	.asciz	"sgmii"

	.comm	_PHY_INTERFACE_MODE_SGMII,4,2   ; @PHY_INTERFACE_MODE_SGMII
	.no_dead_strip	_to_phy_interface
.subsections_via_symbols
