	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_cs_send_data
_if_cs_send_data:                       ## @if_cs_send_data
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_if_cs_disable_ints
	movq	_IF_CS_CARD_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_if_cs_read16
	movq	_IF_CS_BIT_TX@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	andl	(%r12), %eax
	sete	%dil
	callq	_BUG_ON
	movq	_IF_CS_WRITE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_if_cs_write16
	movq	_IF_CS_WRITE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r15d, %ecx
	shrl	$31, %ecx
	addl	%r15d, %ecx
	sarl	%ecx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_if_cs_write16_rep
	testb	$1, %r15b
	je	LBB0_2
## %bb.1:
	movl	(%r13), %esi
	movslq	%r15d, %rax
	movl	-4(%r14,%rax,4), %edx
	movq	%rbx, %rdi
	callq	_if_cs_write8
LBB0_2:
	movq	_IF_CS_HOST_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_if_cs_write16
	movq	_IF_CS_HOST_INT_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_if_cs_write16
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_if_cs_enable_ints              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IF_CS_CARD_STATUS,4,2          ## @IF_CS_CARD_STATUS
	.comm	_IF_CS_BIT_TX,4,2               ## @IF_CS_BIT_TX
	.comm	_IF_CS_WRITE_LEN,4,2            ## @IF_CS_WRITE_LEN
	.comm	_IF_CS_WRITE,4,2                ## @IF_CS_WRITE
	.comm	_IF_CS_HOST_STATUS,4,2          ## @IF_CS_HOST_STATUS
	.comm	_IF_CS_HOST_INT_CAUSE,4,2       ## @IF_CS_HOST_INT_CAUSE
	.no_dead_strip	_if_cs_send_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_cs_send_data
_if_cs_send_data:                       ; @if_cs_send_data
	.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	x21, x2
	mov	x20, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_if_cs_disable_ints
Lloh0:
	adrp	x8, _IF_CS_CARD_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IF_CS_CARD_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_if_cs_read16
Lloh3:
	adrp	x22, _IF_CS_BIT_TX@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IF_CS_BIT_TX@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_BUG_ON
Lloh5:
	adrp	x8, _IF_CS_WRITE_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IF_CS_WRITE_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_if_cs_write16
Lloh8:
	adrp	x23, _IF_CS_WRITE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IF_CS_WRITE@GOTPAGEOFF]
	ldr	w1, [x23]
	cmp	w21, #0
	cinc	w8, w21, lt
	asr	w3, w8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_if_cs_write16_rep
	tbz	w21, #0, LBB0_2
; %bb.1:
	ldr	w1, [x23]
	sub	w8, w21, #1
	ldr	w2, [x20, w8, sxtw #2]
	mov	x0, x19
	bl	_if_cs_write8
LBB0_2:
Lloh10:
	adrp	x8, _IF_CS_HOST_STATUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IF_CS_HOST_STATUS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_if_cs_write16
Lloh13:
	adrp	x8, _IF_CS_HOST_INT_CAUSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IF_CS_HOST_INT_CAUSE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_if_cs_write16
	mov	x0, x19
	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	_if_cs_enable_ints
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IF_CS_CARD_STATUS,4,2          ; @IF_CS_CARD_STATUS
	.comm	_IF_CS_BIT_TX,4,2               ; @IF_CS_BIT_TX
	.comm	_IF_CS_WRITE_LEN,4,2            ; @IF_CS_WRITE_LEN
	.comm	_IF_CS_WRITE,4,2                ; @IF_CS_WRITE
	.comm	_IF_CS_HOST_STATUS,4,2          ; @IF_CS_HOST_STATUS
	.comm	_IF_CS_HOST_INT_CAUSE,4,2       ; @IF_CS_HOST_INT_CAUSE
	.no_dead_strip	_if_cs_send_data
.subsections_via_symbols
