	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_rx_buff_generic  ## -- Begin function ixgbe_disable_rx_buff_generic
	.p2align	4, 0x90
_ixgbe_disable_rx_buff_generic:         ## @ixgbe_disable_rx_buff_generic
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IXGBE_SECRXCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_SECRXCTRL_RX_DIS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movl	$40, %ebx
	movq	_IXGBE_SECRXSTAT@GOTPCREL(%rip), %r15
	movq	_IXGBE_SECRXSTAT_SECRX_RDY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	testl	%eax, (%r12)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	decl	%ebx
	jne	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_hw_dbg
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_SECRXCTRL,4,2            ## @IXGBE_SECRXCTRL
	.comm	_IXGBE_SECRXCTRL_RX_DIS,4,2     ## @IXGBE_SECRXCTRL_RX_DIS
	.comm	_IXGBE_SECRXSTAT,4,2            ## @IXGBE_SECRXSTAT
	.comm	_IXGBE_SECRXSTAT_SECRX_RDY,4,2  ## @IXGBE_SECRXSTAT_SECRX_RDY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx unit being enabled before security path fully disabled. Continuing with init.\n"

	.comm	_IXGBE_MAX_SECRX_POLL,4,2       ## @IXGBE_MAX_SECRX_POLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_disable_rx_buff_generic  ; -- Begin function ixgbe_disable_rx_buff_generic
	.p2align	2
_ixgbe_disable_rx_buff_generic:         ; @ixgbe_disable_rx_buff_generic
	.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, x0
Lloh0:
	adrp	x20, _IXGBE_SECRXCTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IXGBE_SECRXCTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x8, _IXGBE_SECRXCTRL_RX_DIS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_SECRXCTRL_RX_DIS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	w20, #40
Lloh5:
	adrp	x21, _IXGBE_SECRXSTAT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _IXGBE_SECRXSTAT@GOTPAGEOFF]
Lloh7:
	adrp	x22, _IXGBE_SECRXSTAT_SECRX_RDY@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IXGBE_SECRXSTAT_SECRX_RDY@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	bl	_udelay
	subs	w20, w20, #1
	b.ne	LBB0_1
; %bb.3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
LBB0_4:
	mov	w0, #0
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_SECRXCTRL,4,2            ; @IXGBE_SECRXCTRL
	.comm	_IXGBE_SECRXCTRL_RX_DIS,4,2     ; @IXGBE_SECRXCTRL_RX_DIS
	.comm	_IXGBE_SECRXSTAT,4,2            ; @IXGBE_SECRXSTAT
	.comm	_IXGBE_SECRXSTAT_SECRX_RDY,4,2  ; @IXGBE_SECRXSTAT_SECRX_RDY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx unit being enabled before security path fully disabled. Continuing with init.\n"

	.comm	_IXGBE_MAX_SECRX_POLL,4,2       ; @IXGBE_MAX_SECRX_POLL
.subsections_via_symbols
