	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sport_check_status
_sport_check_status:                    ## @sport_check_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	%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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_SSYNC
	movq	8(%r12), %rax
	movq	_TOVF@GOTPCREL(%rip), %rdx
	movq	_TUVF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %r13d
	movq	_ROVF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_RUVF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	andl	%r13d, %ecx
	je	LBB0_3
## %bb.2:
	movl	%ecx, (%rax)
LBB0_3:
	xorl	%eax, %eax
	callq	_SSYNC
	movl	%r13d, (%rbx)
LBB0_4:
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_SSYNC
	movl	4(%r12), %edi
	callq	_get_dma_curr_irqstat
	movl	%eax, %ebx
	movq	_DMA_DONE@GOTPCREL(%rip), %rax
	movq	_DMA_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_7
## %bb.6:
	movl	4(%r12), %edi
	callq	_clear_dma_irqstat
LBB0_7:
	xorl	%eax, %eax
	callq	_SSYNC
	movl	%ebx, (%r15)
LBB0_8:
	testq	%r14, %r14
	je	LBB0_12
## %bb.9:
	xorl	%eax, %eax
	callq	_SSYNC
	movl	(%r12), %edi
	callq	_get_dma_curr_irqstat
	movl	%eax, %ebx
	movq	_DMA_DONE@GOTPCREL(%rip), %rax
	movq	_DMA_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	callq	_clear_dma_irqstat
LBB0_11:
	xorl	%eax, %eax
	callq	_SSYNC
	movl	%ebx, (%r14)
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOVF,4,2                       ## @TOVF
	.comm	_TUVF,4,2                       ## @TUVF
	.comm	_ROVF,4,2                       ## @ROVF
	.comm	_RUVF,4,2                       ## @RUVF
	.comm	_DMA_DONE,4,2                   ## @DMA_DONE
	.comm	_DMA_ERR,4,2                    ## @DMA_ERR
	.no_dead_strip	_sport_check_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sport_check_status
_sport_check_status:                    ; @sport_check_status
	.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, x3
	mov	x21, x2
	mov	x20, x0
	cbz	x1, LBB0_4
; %bb.1:
	mov	x22, x1
	bl	_SSYNC
	ldr	x8, [x20, #8]
	ldr	w23, [x8]
Lloh0:
	adrp	x9, _TOVF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TOVF@GOTPAGEOFF]
Lloh2:
	adrp	x10, _TUVF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TUVF@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _ROVF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ROVF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _RUVF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RUVF@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ands	w9, w9, w23
	b.eq	LBB0_3
; %bb.2:
	str	w9, [x8]
LBB0_3:
	bl	_SSYNC
	str	w23, [x22]
LBB0_4:
Lloh12:
	adrp	x23, _DMA_DONE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _DMA_DONE@GOTPAGEOFF]
Lloh14:
	adrp	x24, _DMA_ERR@GOTPAGE
Lloh15:
	ldr	x24, [x24, _DMA_ERR@GOTPAGEOFF]
	cbz	x21, LBB0_8
; %bb.5:
	bl	_SSYNC
	ldr	w0, [x20, #4]
	bl	_get_dma_curr_irqstat
	mov	x22, x0
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x20, #4]
	bl	_clear_dma_irqstat
LBB0_7:
	bl	_SSYNC
	str	w22, [x21]
LBB0_8:
	cbz	x19, LBB0_12
; %bb.9:
	bl	_SSYNC
	ldr	w0, [x20]
	bl	_get_dma_curr_irqstat
	mov	x21, x0
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_11
; %bb.10:
	ldr	w0, [x20]
	bl	_clear_dma_irqstat
LBB0_11:
	bl	_SSYNC
	str	w21, [x19]
LBB0_12:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TOVF,4,2                       ; @TOVF
	.comm	_TUVF,4,2                       ; @TUVF
	.comm	_ROVF,4,2                       ; @ROVF
	.comm	_RUVF,4,2                       ; @RUVF
	.comm	_DMA_DONE,4,2                   ; @DMA_DONE
	.comm	_DMA_ERR,4,2                    ; @DMA_ERR
	.no_dead_strip	_sport_check_status
.subsections_via_symbols
