	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_autoneg_get
_mlx4_en_autoneg_get:                   ## @mlx4_en_autoneg_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_netdev_priv
	movq	%rax, %rcx
	movq	8(%rax), %rdx
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdx), %rdx
	movq	_MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rdx)
	je	LBB0_3
## %bb.1:
	movq	_MLX4_EN_PORT_ANE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP,4,2 ## @MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP
	.comm	_MLX4_EN_PORT_ANE,4,2           ## @MLX4_EN_PORT_ANE
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.no_dead_strip	_mlx4_en_autoneg_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_autoneg_get
_mlx4_en_autoneg_get:                   ; @mlx4_en_autoneg_get
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_netdev_priv
	mov	x8, x0
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _AUTONEG_DISABLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x10]
	ldr	x9, [x9]
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MLX4_EN_PORT_ANE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX4_EN_PORT_ANE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w0, w0, w10, eq
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP,4,2 ; @MLX4_DEV_CAP_FLAG2_ETH_BACKPL_AN_REP
	.comm	_MLX4_EN_PORT_ANE,4,2           ; @MLX4_EN_PORT_ANE
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.no_dead_strip	_mlx4_en_autoneg_get
.subsections_via_symbols
