	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_phy_type_prop_decode
_niu_phy_type_prop_decode:              ## @niu_phy_type_prop_decode
	.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
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_1:
	movq	_NIU_FLAGS_FIBER@GOTPCREL(%rip), %rax
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, (%r14)
	movq	_MAC_XCVR_MII@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rax
	movq	_NIU_FLAGS_FIBER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
	jmp	LBB0_9
LBB0_5:
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movq	_NIU_FLAGS_FIBER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	_MAC_XCVR_PCS@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_NIU_FLAGS_FIBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	jmp	LBB0_8
LBB0_13:
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_NIU_FLAGS_FIBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%r14)
	movq	_NIU_FLAGS_XCVR_SERDES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_8:
	movl	%eax, (%r14)
LBB0_9:
	movq	_MAC_XCVR_XPCS@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	xorl	%eax, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mif"

	.comm	_NIU_FLAGS_FIBER,4,2            ## @NIU_FLAGS_FIBER
	.comm	_NIU_FLAGS_10G,4,2              ## @NIU_FLAGS_10G
	.comm	_MAC_XCVR_MII,8,3               ## @MAC_XCVR_MII
L_.str.1:                               ## @.str.1
	.asciz	"xgf"

	.comm	_MAC_XCVR_XPCS,8,3              ## @MAC_XCVR_XPCS
L_.str.2:                               ## @.str.2
	.asciz	"pcs"

	.comm	_MAC_XCVR_PCS,8,3               ## @MAC_XCVR_PCS
L_.str.3:                               ## @.str.3
	.asciz	"xgc"

L_.str.4:                               ## @.str.4
	.asciz	"xgsd"

L_.str.5:                               ## @.str.5
	.asciz	"gsd"

	.comm	_NIU_FLAGS_XCVR_SERDES,4,2      ## @NIU_FLAGS_XCVR_SERDES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_niu_phy_type_prop_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_phy_type_prop_decode
_niu_phy_type_prop_decode:              ; @niu_phy_type_prop_decode
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.6:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_7:
Lloh15:
	adrp	x8, _NIU_FLAGS_FIBER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NIU_FLAGS_FIBER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _NIU_FLAGS_10G@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh21:
	adrp	x8, _MAC_XCVR_MII@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MAC_XCVR_MII@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh23:
	adrp	x8, _NIU_FLAGS_10G@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _NIU_FLAGS_FIBER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NIU_FLAGS_FIBER@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	b	LBB0_12
LBB0_9:
Lloh29:
	adrp	x8, _NIU_FLAGS_10G@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh32:
	adrp	x9, _NIU_FLAGS_FIBER@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NIU_FLAGS_FIBER@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh35:
	adrp	x8, _MAC_XCVR_PCS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MAC_XCVR_PCS@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh37:
	adrp	x8, _NIU_FLAGS_10G@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh40:
	adrp	x9, _NIU_FLAGS_FIBER@GOTPAGE
Lloh41:
	ldr	x9, [x9, _NIU_FLAGS_FIBER@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	bic	w8, w8, w9
	b	LBB0_12
LBB0_11:
	mov	w0, #0
Lloh43:
	adrp	x8, _NIU_FLAGS_10G@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh46:
	adrp	x9, _NIU_FLAGS_FIBER@GOTPAGE
Lloh47:
	ldr	x9, [x9, _NIU_FLAGS_FIBER@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
Lloh49:
	adrp	x9, _NIU_FLAGS_XCVR_SERDES@GOTPAGE
Lloh50:
	ldr	x9, [x9, _NIU_FLAGS_XCVR_SERDES@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_12:
	str	w8, [x19]
Lloh52:
	adrp	x8, _MAC_XCVR_XPCS@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MAC_XCVR_XPCS@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mif"

	.comm	_NIU_FLAGS_FIBER,4,2            ; @NIU_FLAGS_FIBER
	.comm	_NIU_FLAGS_10G,4,2              ; @NIU_FLAGS_10G
	.comm	_MAC_XCVR_MII,8,3               ; @MAC_XCVR_MII
l_.str.1:                               ; @.str.1
	.asciz	"xgf"

	.comm	_MAC_XCVR_XPCS,8,3              ; @MAC_XCVR_XPCS
l_.str.2:                               ; @.str.2
	.asciz	"pcs"

	.comm	_MAC_XCVR_PCS,8,3               ; @MAC_XCVR_PCS
l_.str.3:                               ; @.str.3
	.asciz	"xgc"

l_.str.4:                               ; @.str.4
	.asciz	"xgsd"

l_.str.5:                               ; @.str.5
	.asciz	"gsd"

	.comm	_NIU_FLAGS_XCVR_SERDES,4,2      ; @NIU_FLAGS_XCVR_SERDES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_niu_phy_type_prop_decode
.subsections_via_symbols
