	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_port_module_status
_bnxt_get_port_module_status:           ## @bnxt_get_port_module_status
	.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	%rdi, %rbx
	movl	$1, %esi
	callq	_bnxt_update_link
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	12(%rbx), %r14d
	leal	-128(%r14), %eax
	cmpl	$2, %eax
	ja	LBB0_9
## %bb.2:
	movl	4(%rbx), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_warn
	cmpl	$66049, (%rbx)                  ## imm = 0x10201
	jl	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	movl	16(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_warn
LBB0_4:
	cmpl	$130, %r14d
	je	LBB0_5
## %bb.6:
	cmpl	$129, %r14d
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movl	4(%rbx), %edi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unqualified SFP+ module detected on port %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Module part number %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"TX is disabled\n"

L_.str.3:                               ## @.str.3
	.asciz	"SFP+ module is shutdown\n"

	.no_dead_strip	_bnxt_get_port_module_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_get_port_module_status
_bnxt_get_port_module_status:           ; @bnxt_get_port_module_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #1
	bl	_bnxt_update_link
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	w20, [x19, #12]
	sub	w8, w20, #128
	cmp	w8, #2
	b.hi	LBB0_7
; %bb.2:
	ldp	w0, w8, [x19, #4]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
	ldr	w8, [x19]
	mov	w9, #513
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_warn
LBB0_4:
	cmp	w20, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w20, #129
	b.ne	LBB0_7
; %bb.6:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_netdev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unqualified SFP+ module detected on port %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Module part number %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"TX is disabled\n"

l_.str.3:                               ; @.str.3
	.asciz	"SFP+ module is shutdown\n"

	.no_dead_strip	_bnxt_get_port_module_status
.subsections_via_symbols
