	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_disable_pmd_transmit
_bnx2x_set_disable_pmd_transmit:        ## @bnx2x_set_disable_pmd_transmit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	8(%rdi), %r15
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	_FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, (%rdi)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	jmp	LBB0_5
LBB0_4:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	callq	_DP
	movq	_MDIO_PMA_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_PMA_REG_TX_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_cl45_write               ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED,4,2 ## @FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabling PMD transmitter\n"

L_.str.1:                               ## @.str.1
	.asciz	"NOT disabling PMD transmitter\n"

L_.str.2:                               ## @.str.2
	.asciz	"Enabling PMD transmitter\n"

	.comm	_MDIO_PMA_DEVAD,4,2             ## @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_TX_DISABLE,4,2    ## @MDIO_PMA_REG_TX_DISABLE
	.no_dead_strip	_bnx2x_set_disable_pmd_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_disable_pmd_transmit
_bnx2x_set_disable_pmd_transmit:        ; @bnx2x_set_disable_pmd_transmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x0, #8]
	cbz	x2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _NETIF_MSG_LINK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x10]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_4:
	bl	_DP
Lloh13:
	adrp	x8, _MDIO_PMA_DEVAD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MDIO_PMA_DEVAD@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _MDIO_PMA_REG_TX_DISABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MDIO_PMA_REG_TX_DISABLE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bnx2x_cl45_write
LBB0_5:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DP
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED,4,2 ; @FEATURE_CONFIG_BC_SUPPORTS_SFP_TX_DISABLED
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabling PMD transmitter\n"

l_.str.1:                               ; @.str.1
	.asciz	"NOT disabling PMD transmitter\n"

l_.str.2:                               ; @.str.2
	.asciz	"Enabling PMD transmitter\n"

	.comm	_MDIO_PMA_DEVAD,4,2             ; @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_TX_DISABLE,4,2    ; @MDIO_PMA_REG_TX_DISABLE
	.no_dead_strip	_bnx2x_set_disable_pmd_transmit
.subsections_via_symbols
