	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwxgmac2_get_rx_status
_dwxgmac2_get_rx_status:                ## @dwxgmac2_get_rx_status
	.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
	movl	(%rdx), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_XGMAC_RDES3_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_dma_own@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_XGMAC_RDES3_CTXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_8:
	movq	_discard_frame@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_XGMAC_RDES3_LD@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	movl	(%r14), %eax
	andl	%ebx, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_rx_not_ls@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_XGMAC_RDES3_ES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%al
	andl	(%r14), %ebx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_good_frame@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGMAC_RDES3_OWN,4,2            ## @XGMAC_RDES3_OWN
	.comm	_dma_own,4,2                    ## @dma_own
	.comm	_XGMAC_RDES3_CTXT,4,2           ## @XGMAC_RDES3_CTXT
	.comm	_discard_frame,4,2              ## @discard_frame
	.comm	_XGMAC_RDES3_LD,4,2             ## @XGMAC_RDES3_LD
	.comm	_rx_not_ls,4,2                  ## @rx_not_ls
	.comm	_XGMAC_RDES3_ES,4,2             ## @XGMAC_RDES3_ES
	.comm	_good_frame,4,2                 ## @good_frame
	.no_dead_strip	_dwxgmac2_get_rx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwxgmac2_get_rx_status
_dwxgmac2_get_rx_status:                ; @dwxgmac2_get_rx_status
	.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
	ldr	w0, [x2]
	bl	_le32_to_cpu
	mov	x19, x0
Lloh0:
	adrp	x8, _XGMAC_RDES3_OWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XGMAC_RDES3_OWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x20, _dma_own@GOTPAGE
Lloh4:
	ldr	x20, [x20, _dma_own@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _XGMAC_RDES3_CTXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XGMAC_RDES3_CTXT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w0, w8, w19
	bl	_unlikely
Lloh8:
	adrp	x20, _discard_frame@GOTPAGE
Lloh9:
	ldr	x20, [x20, _discard_frame@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.3:
Lloh10:
	adrp	x21, _XGMAC_RDES3_LD@GOTPAGE
Lloh11:
	ldr	x21, [x21, _XGMAC_RDES3_LD@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w19
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_5
; %bb.4:
Lloh12:
	adrp	x20, _rx_not_ls@GOTPAGE
Lloh13:
	ldr	x20, [x20, _rx_not_ls@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _XGMAC_RDES3_ES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XGMAC_RDES3_ES@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w8, ne
	ldr	w9, [x21]
	tst	w9, w19
	cset	w9, ne
	and	w0, w8, w9
	bl	_unlikely
Lloh17:
	adrp	x8, _good_frame@GOTPAGE
Lloh18:
	ldr	x8, [x8, _good_frame@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x20, eq
LBB0_6:
	ldr	w0, [x20]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XGMAC_RDES3_OWN,4,2            ; @XGMAC_RDES3_OWN
	.comm	_dma_own,4,2                    ; @dma_own
	.comm	_XGMAC_RDES3_CTXT,4,2           ; @XGMAC_RDES3_CTXT
	.comm	_discard_frame,4,2              ; @discard_frame
	.comm	_XGMAC_RDES3_LD,4,2             ; @XGMAC_RDES3_LD
	.comm	_rx_not_ls,4,2                  ; @rx_not_ls
	.comm	_XGMAC_RDES3_ES,4,2             ; @XGMAC_RDES3_ES
	.comm	_good_frame,4,2                 ; @good_frame
	.no_dead_strip	_dwxgmac2_get_rx_status
.subsections_via_symbols
