	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwmac1000_configure_fc
_dwmac1000_configure_fc:                ## @dwmac1000_configure_fc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_DMA_CONTROL_RFA_MASK@GOTPCREL(%rip), %rax
	movq	_DMA_CONTROL_RFD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	notl	%ebx
	andl	%edi, %ebx
	movq	_DMA_CONTROL_EFC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$4095, %esi                     ## imm = 0xFFF
	jg	LBB0_2
## %bb.1:
	notl	%eax
	andl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	jmp	LBB0_3
LBB0_2:
	orl	%ebx, %eax
	movq	_RFA_FULL_MINUS_1K@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RFD_FULL_MINUS_2K@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CONTROL_RFA_MASK,4,2       ## @DMA_CONTROL_RFA_MASK
	.comm	_DMA_CONTROL_RFD_MASK,4,2       ## @DMA_CONTROL_RFD_MASK
	.comm	_DMA_CONTROL_EFC,4,2            ## @DMA_CONTROL_EFC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GMAC: disabling flow control, rxfifo too small(%d)\n"

	.comm	_RFA_FULL_MINUS_1K,4,2          ## @RFA_FULL_MINUS_1K
	.comm	_RFD_FULL_MINUS_2K,4,2          ## @RFD_FULL_MINUS_2K
	.no_dead_strip	_dwmac1000_configure_fc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwmac1000_configure_fc
_dwmac1000_configure_fc:                ; @dwmac1000_configure_fc
	.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
Lloh0:
	adrp	x8, _DMA_CONTROL_RFA_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_CONTROL_RFA_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DMA_CONTROL_RFD_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_CONTROL_RFD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh6:
	adrp	x9, _DMA_CONTROL_EFC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMA_CONTROL_EFC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w1, #4095
	b.gt	LBB0_2
; %bb.1:
	bic	w19, w8, w9
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	b	LBB0_3
LBB0_2:
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _RFA_FULL_MINUS_1K@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RFA_FULL_MINUS_1K@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _RFD_FULL_MINUS_2K@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RFD_FULL_MINUS_2K@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w19, w8, w9
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CONTROL_RFA_MASK,4,2       ; @DMA_CONTROL_RFA_MASK
	.comm	_DMA_CONTROL_RFD_MASK,4,2       ; @DMA_CONTROL_RFD_MASK
	.comm	_DMA_CONTROL_EFC,4,2            ; @DMA_CONTROL_EFC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GMAC: disabling flow control, rxfifo too small(%d)\n"

	.comm	_RFA_FULL_MINUS_1K,4,2          ; @RFA_FULL_MINUS_1K
	.comm	_RFD_FULL_MINUS_2K,4,2          ; @RFD_FULL_MINUS_2K
	.no_dead_strip	_dwmac1000_configure_fc
.subsections_via_symbols
