	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __b44_set_flow_ctrl
___b44_set_flow_ctrl:                   ## @__b44_set_flow_ctrl
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_B44_FLAG_TX_PAUSE@GOTPCREL(%rip), %r15
	movq	_B44_FLAG_RX_PAUSE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	(%r15), %eax
	movl	%esi, %r14d
	movq	%rdi, %rbx
	notl	%eax
	andl	(%rdi), %eax
	orl	%esi, %eax
	movl	%eax, (%rdi)
	movq	_B44_RXCONFIG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_br32
	movl	(%r12), %ecx
	andl	%r14d, %ecx
	movq	_RXCONFIG_FLOW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%eax, %esi
	notl	%edx
	andl	%eax, %edx
	testl	%ecx, %ecx
	cmovnel	%esi, %edx
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_bw32
	movq	_B44_MAC_FLOW@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_br32
	movq	_MAC_FLOW_PAUSE_ENAB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%r14d, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_MAC_FLOW_RX_HI_WATER@GOTPCREL(%rip), %rcx
	movl	$192, %esi
	andl	(%rcx), %esi
	orl	%eax, %edx
	orl	%esi, %edx
	jmp	LBB0_3
LBB0_2:
	notl	%edx
	andl	%eax, %edx
LBB0_3:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bw32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_FLAG_TX_PAUSE,4,2          ## @B44_FLAG_TX_PAUSE
	.comm	_B44_FLAG_RX_PAUSE,4,2          ## @B44_FLAG_RX_PAUSE
	.comm	_B44_RXCONFIG,4,2               ## @B44_RXCONFIG
	.comm	_RXCONFIG_FLOW,4,2              ## @RXCONFIG_FLOW
	.comm	_B44_MAC_FLOW,4,2               ## @B44_MAC_FLOW
	.comm	_MAC_FLOW_PAUSE_ENAB,4,2        ## @MAC_FLOW_PAUSE_ENAB
	.comm	_MAC_FLOW_RX_HI_WATER,4,2       ## @MAC_FLOW_RX_HI_WATER
	.no_dead_strip	___b44_set_flow_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __b44_set_flow_ctrl
___b44_set_flow_ctrl:                   ; @__b44_set_flow_ctrl
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _B44_FLAG_TX_PAUSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B44_FLAG_TX_PAUSE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x21, _B44_FLAG_RX_PAUSE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _B44_FLAG_RX_PAUSE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x0]
	bic	w8, w9, w8
	orr	w8, w8, w1
	str	w8, [x0]
Lloh4:
	adrp	x23, _B44_RXCONFIG@GOTPAGE
Lloh5:
	ldr	x23, [x23, _B44_RXCONFIG@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_br32
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _RXCONFIG_FLOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXCONFIG_FLOW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w10, w9, w0
	bic	w9, w0, w9
	tst	w8, w20
	csel	w2, w9, w10, eq
	ldr	w1, [x23]
	mov	x0, x19
	bl	_bw32
Lloh9:
	adrp	x21, _B44_MAC_FLOW@GOTPAGE
Lloh10:
	ldr	x21, [x21, _B44_MAC_FLOW@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_br32
	ldr	w9, [x22]
Lloh11:
	adrp	x8, _MAC_FLOW_PAUSE_ENAB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_FLOW_PAUSE_ENAB@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w9, w20
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x9, _MAC_FLOW_RX_HI_WATER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAC_FLOW_RX_HI_WATER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w9, w9, #0xc0
	orr	w8, w8, w0
	orr	w2, w8, w9
	b	LBB0_3
LBB0_2:
	bic	w2, w0, w8
LBB0_3:
	ldr	w1, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bw32
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_FLAG_TX_PAUSE,4,2          ; @B44_FLAG_TX_PAUSE
	.comm	_B44_FLAG_RX_PAUSE,4,2          ; @B44_FLAG_RX_PAUSE
	.comm	_B44_RXCONFIG,4,2               ; @B44_RXCONFIG
	.comm	_RXCONFIG_FLOW,4,2              ; @RXCONFIG_FLOW
	.comm	_B44_MAC_FLOW,4,2               ; @B44_MAC_FLOW
	.comm	_MAC_FLOW_PAUSE_ENAB,4,2        ; @MAC_FLOW_PAUSE_ENAB
	.comm	_MAC_FLOW_RX_HI_WATER,4,2       ; @MAC_FLOW_RX_HI_WATER
	.no_dead_strip	___b44_set_flow_ctrl
.subsections_via_symbols
