	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_rx_stop
_skge_rx_stop:                          ## @skge_rx_stop
	.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, %r15
	movq	_rxqaddr@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %edi
	movq	_Q_CSR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_Q_ADDR
	movq	_CSR_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skge_write8
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_Q_R1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_Q_R2@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movq	_RB_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RB_ADDR
	movq	_RB_RST_SET@GOTPCREL(%rip), %rcx
	movq	_RB_DIS_OP_MD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skge_write32
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r12), %esi
	callq	_Q_ADDR
	movq	_CSR_SET_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skge_write32                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rxqaddr,8,3                    ## @rxqaddr
	.comm	_Q_CSR,4,2                      ## @Q_CSR
	.comm	_CSR_STOP,4,2                   ## @CSR_STOP
	.comm	_Q_R2,4,2                       ## @Q_R2
	.comm	_Q_R1,4,2                       ## @Q_R1
	.comm	_RB_CTRL,4,2                    ## @RB_CTRL
	.comm	_RB_RST_SET,4,2                 ## @RB_RST_SET
	.comm	_RB_DIS_OP_MD,4,2               ## @RB_DIS_OP_MD
	.comm	_CSR_SET_RESET,4,2              ## @CSR_SET_RESET
	.no_dead_strip	_skge_rx_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_rx_stop
_skge_rx_stop:                          ; @skge_rx_stop
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _rxqaddr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rxqaddr@GOTPAGEOFF]
	ldr	x8, [x21]
	sbfiz	x22, x19, #2, #32
	ldr	w0, [x8, x22]
Lloh2:
	adrp	x23, _Q_CSR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _Q_CSR@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_Q_ADDR
	mov	x1, x0
Lloh4:
	adrp	x8, _CSR_STOP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CSR_STOP@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_skge_write8
Lloh7:
	adrp	x8, _Q_R2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Q_R2@GOTPAGEOFF]
Lloh9:
	adrp	x9, _Q_R1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _Q_R1@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _RB_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RB_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_RB_ADDR
	mov	x1, x0
Lloh14:
	adrp	x8, _RB_RST_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RB_RST_SET@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _RB_DIS_OP_MD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RB_DIS_OP_MD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_skge_write32
	ldr	x8, [x21]
	ldr	w0, [x8, x22]
	ldr	w1, [x23]
	bl	_Q_ADDR
	mov	x1, x0
Lloh20:
	adrp	x8, _CSR_SET_RESET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CSR_SET_RESET@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	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	_skge_write32
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rxqaddr,8,3                    ; @rxqaddr
	.comm	_Q_CSR,4,2                      ; @Q_CSR
	.comm	_CSR_STOP,4,2                   ; @CSR_STOP
	.comm	_Q_R2,4,2                       ; @Q_R2
	.comm	_Q_R1,4,2                       ; @Q_R1
	.comm	_RB_CTRL,4,2                    ; @RB_CTRL
	.comm	_RB_RST_SET,4,2                 ; @RB_RST_SET
	.comm	_RB_DIS_OP_MD,4,2               ; @RB_DIS_OP_MD
	.comm	_CSR_SET_RESET,4,2              ; @CSR_SET_RESET
	.no_dead_strip	_skge_rx_stop
.subsections_via_symbols
