	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_ethtool_get_pauseparam
_emac_ethtool_get_pauseparam:           ## @emac_ethtool_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 12(%rbx)
	je	LBB0_3
## %bb.2:
	movl	$1, (%r14)
LBB0_3:
	movq	16(%rbx), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.5:
	movl	$1, 8(%r14)
	addq	$4, %r14
	jmp	LBB0_8
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_9
## %bb.7:
	addq	$8, %r14
LBB0_8:
	movl	$1, (%r14)
LBB0_9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.no_dead_strip	_emac_ethtool_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_ethtool_get_pauseparam
_emac_ethtool_get_pauseparam:           ; @emac_ethtool_get_pauseparam
	.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
	bl	_netdev_priv
	mov	x19, x0
	bl	_mutex_lock
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x19, #12]
Lloh3:
	adrp	x9, _ADVERTISED_Pause@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
LBB0_3:
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x20, #8]
	add	x8, x20, #4
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.7:
	add	x8, x20, #8
LBB0_8:
	mov	w9, #1
	str	w9, [x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.no_dead_strip	_emac_ethtool_get_pauseparam
.subsections_via_symbols
