	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_get_pauseparam
_jme_get_pauseparam:                    ## @jme_get_pauseparam
	.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	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_TXPFC_PF_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	movl	%ecx, (%r14)
	movq	_RXMCS_FLOWCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	4(%rbx), %eax
	setne	%cl
	movl	%ecx, 4(%r14)
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_jme_mdio_read
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rax
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ebx, %ecx
	setne	%al
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXPFC_PF_EN,4,2                ## @TXPFC_PF_EN
	.comm	_RXMCS_FLOWCTRL,4,2             ## @RXMCS_FLOWCTRL
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ## @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ## @ADVERTISE_PAUSE_ASYM
	.no_dead_strip	_jme_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_get_pauseparam
_jme_get_pauseparam:                    ; @jme_get_pauseparam
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _TXPFC_PF_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXPFC_PF_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x0]
	tst	w8, w9
	cset	w8, ne
Lloh3:
	adrp	x9, _RXMCS_FLOWCTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXMCS_FLOWCTRL@GOTPAGEOFF]
	str	w8, [x19]
Lloh5:
	ldr	w8, [x9]
	tst	w8, w10
	cset	w8, ne
	str	w8, [x19, #4]
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock_bh
	ldp	w1, w0, [x20, #12]
Lloh6:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_jme_mdio_read
	mov	x20, x0
	mov	x0, x21
	bl	_spin_unlock_bh
Lloh9:
	adrp	x8, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	cset	w8, ne
	str	w8, [x19, #8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXPFC_PF_EN,4,2                ; @TXPFC_PF_EN
	.comm	_RXMCS_FLOWCTRL,4,2             ; @RXMCS_FLOWCTRL
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ; @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ; @ADVERTISE_PAUSE_ASYM
	.no_dead_strip	_jme_get_pauseparam
.subsections_via_symbols
