	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfspi_xmitfrm                  ## -- Begin function cfspi_xmitfrm
	.p2align	4, 0x90
_cfspi_xmitfrm:                         ## @cfspi_xmitfrm
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_caif_assert
	cmpq	$0, 24(%r12)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r12)
	jne	LBB0_3
## %bb.2:
	movl	$1, (%r12)
LBB0_3:
	leaq	16(%r12), %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_skb_copy_bits
	movq	(%r14), %rax
	movq	8(%r12), %rcx
	incl	4(%rcx)
	addl	%eax, (%rcx)
	leaq	(%rbx,%rax,8), %rbx
	movslq	%r15d, %rdi
	addq	%rax, %rdi
	movq	_spi_up_tail_align@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PAD_POW2
	cltq
	leaq	(%rbx,%rax,8), %rbx
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	%rbx, %rax
	subq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, %rcx
	sarq	$3, %rcx
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	_spi_up_head_align@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	cmpl	$2, %esi
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rdi
	incq	%rdi
	callq	_PAD_POW2
	movl	%eax, %r15d
	cltq
	incl	%r15d
	movq	%rax, (%rbx)
	leaq	(%rbx,%rax,8), %rbx
	addq	$8, %rbx
	jmp	LBB0_8
LBB0_5:
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %rax
LBB0_9:
	shrq	$3, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spi_up_head_align,4,2          ## @spi_up_head_align
	.comm	_spi_up_tail_align,4,2          ## @spi_up_tail_align
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfspi_xmitfrm                  ; -- Begin function cfspi_xmitfrm
	.p2align	2
_cfspi_xmitfrm:                         ; @cfspi_xmitfrm
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_caif_assert
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x21]
LBB0_3:
	add	x22, x21, #16
Lloh0:
	adrp	x25, _spi_up_head_align@GOTPAGE
Lloh1:
	ldr	x25, [x25, _spi_up_head_align@GOTPAGEOFF]
Lloh2:
	adrp	x26, _spi_up_tail_align@GOTPAGE
Lloh3:
	ldr	x26, [x26, _spi_up_tail_align@GOTPAGEOFF]
	mov	x24, x19
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23, #8]
	add	x0, x8, #1
	bl	_PAD_POW2
                                        ; kill: def $w0 killed $w0 def $x0
	add	w27, w0, #1
	sxtw	x8, w0
	str	x8, [x24]
	add	x24, x24, w27, sxtw #3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x3, [x23]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x24
	bl	_skb_copy_bits
	ldr	x8, [x23]
	add	x24, x24, x8, lsl #3
	ldr	x9, [x21, #8]
	ldr	d0, [x9]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	str	d0, [x9]
	add	x0, x8, w27, sxtw
	ldr	w1, [x26]
	bl	_PAD_POW2
	add	x24, x24, w0, sxtw #3
	mov	x0, x23
	bl	_dev_kfree_skb
	sub	x8, x24, x19
	cmp	x20, x8, asr #3
	b.ls	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_skb_dequeue
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	ldr	w1, [x25]
	cmp	w1, #2
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w27, #0
	b	LBB0_5
LBB0_9:
	sub	x8, x24, x19
LBB0_10:
	lsr	x0, x8, #3
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_spi_up_head_align,4,2          ; @spi_up_head_align
	.comm	_spi_up_tail_align,4,2          ; @spi_up_tail_align
.subsections_via_symbols
