	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_cfg_mac_flowcontrol        ## -- Begin function alx_cfg_mac_flowcontrol
	.p2align	4, 0x90
_alx_cfg_mac_flowcontrol:               ## @alx_cfg_mac_flowcontrol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ALX_FC_RX@GOTPCREL(%rip), %rax
	movq	_ALX_MAC_CTRL_RXFC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	orl	(%rdi), %edx
	jmp	LBB0_3
LBB0_2:
	notl	%edx
	andl	(%rdi), %edx
LBB0_3:
	movl	%edx, (%rdi)
	movq	_ALX_FC_TX@GOTPCREL(%rip), %rcx
	movq	_ALX_MAC_CTRL_TXFC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, (%rcx)
	je	LBB0_5
## %bb.4:
	orl	%eax, %edx
	jmp	LBB0_6
LBB0_5:
	notl	%eax
	andl	%eax, %edx
LBB0_6:
	movl	%edx, (%rdi)
	movq	_ALX_MAC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_alx_write_mem32                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALX_FC_RX,4,2                  ## @ALX_FC_RX
	.comm	_ALX_MAC_CTRL_RXFC_EN,4,2       ## @ALX_MAC_CTRL_RXFC_EN
	.comm	_ALX_FC_TX,4,2                  ## @ALX_FC_TX
	.comm	_ALX_MAC_CTRL_TXFC_EN,4,2       ## @ALX_MAC_CTRL_TXFC_EN
	.comm	_ALX_MAC_CTRL,4,2               ## @ALX_MAC_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alx_cfg_mac_flowcontrol        ; -- Begin function alx_cfg_mac_flowcontrol
	.p2align	2
_alx_cfg_mac_flowcontrol:               ; @alx_cfg_mac_flowcontrol
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ALX_FC_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALX_FC_RX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _ALX_MAC_CTRL_RXFC_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALX_MAC_CTRL_RXFC_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w9, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	w9, [x0]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x0]
Lloh6:
	adrp	x9, _ALX_FC_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ALX_FC_TX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x9]
Lloh9:
	adrp	x9, _ALX_MAC_CTRL_TXFC_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ALX_MAC_CTRL_TXFC_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w10, w1
	b.eq	LBB0_5
; %bb.4:
	orr	w2, w8, w9
	b	LBB0_6
LBB0_5:
	bic	w2, w8, w9
LBB0_6:
	str	w2, [x0]
Lloh12:
	adrp	x8, _ALX_MAC_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALX_MAC_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	_alx_write_mem32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ALX_FC_RX,4,2                  ; @ALX_FC_RX
	.comm	_ALX_MAC_CTRL_RXFC_EN,4,2       ; @ALX_MAC_CTRL_RXFC_EN
	.comm	_ALX_FC_TX,4,2                  ; @ALX_FC_TX
	.comm	_ALX_MAC_CTRL_TXFC_EN,4,2       ; @ALX_MAC_CTRL_TXFC_EN
	.comm	_ALX_MAC_CTRL,4,2               ; @ALX_MAC_CTRL
.subsections_via_symbols
