	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_send
_check_send:                            ## @check_send
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_pr_debug
	movq	_BSTAT_RDM1@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_sel_bch_isar
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jle	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_isar_fill_fifo
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_send_next
LBB0_7:
	movq	_BSTAT_RDM2@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.8:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_sel_bch_isar
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %rbx
	movq	_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jle	LBB0_12
## %bb.14:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isar_fill_fifo                 ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_next                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: rdm %x\n"

	.comm	_BSTAT_RDM1,4,2                 ## @BSTAT_RDM1
	.comm	_FLG_ACTIVE,4,2                 ## @FLG_ACTIVE
	.comm	_BSTAT_RDM2,4,2                 ## @BSTAT_RDM2
	.no_dead_strip	_check_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_send
_check_send:                            ; @check_send
	.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	x20, x1
	mov	x19, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
Lloh2:
	adrp	x8, _BSTAT_RDM1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BSTAT_RDM1@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_sel_bch_isar
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x8, _FLG_ACTIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLG_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_isar_fill_fifo
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_send_next
LBB0_7:
Lloh8:
	adrp	x8, _BSTAT_RDM2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BSTAT_RDM2@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.8:
	mov	x0, x19
	mov	w1, #2
	bl	_sel_bch_isar
	cbz	x0, LBB0_13
; %bb.9:
	mov	x19, x0
Lloh11:
	adrp	x8, _FLG_ACTIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLG_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	x8, [x8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_14
; %bb.12:
	mov	x0, x19
	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
	b	_isar_fill_fifo
LBB0_13:
	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
LBB0_14:
	mov	x0, x19
	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
	b	_send_next
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: rdm %x\n"

	.comm	_BSTAT_RDM1,4,2                 ; @BSTAT_RDM1
	.comm	_FLG_ACTIVE,4,2                 ; @FLG_ACTIVE
	.comm	_BSTAT_RDM2,4,2                 ; @BSTAT_RDM2
	.no_dead_strip	_check_send
.subsections_via_symbols
