	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_receive_block
_on_receive_block:                      ## @on_receive_block
	.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	%rdi, %r15
	movl	(%rdi), %r14d
	movl	4(%rdi), %esi
	movq	_R3964_BCC@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	8(%r15), %rdx
	movq	16(%r15), %rax
	cmpq	%rax, %rdx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_TRACE_PE
	movq	_R3964_CHECKSUM@GOTPCREL(%rip), %rax
	movl	4(%r15), %esi
	orl	(%rax), %esi
	movl	%esi, 4(%r15)
LBB0_3:
	movq	_R3964_ERROR@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	je	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE_PE
	movq	_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_put_char
	movq	%r15, %rdi
	callq	_flush
	movq	24(%r15), %rax
	movq	_R3964_MAX_RETRIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.14:
	movq	_R3964_WAIT_FOR_RX_REPEAT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%r15)
	incq	%rax
	movq	%rax, 24(%r15)
	addq	$60, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_R3964_TO_RX_PANIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_7:
	movq	_DLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_put_char
	movq	%r15, %rdi
	callq	_flush
	leaq	60(%r15), %rdi
	callq	_del_timer_sync
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	callq	_TRACE_PS
	leal	40(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, %r12
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE_M
	testq	%r12, %r12
	je	LBB0_6
## %bb.8:
	movl	%r14d, (%r12)
	movq	%r12, %rdi
	addq	$40, %rdi
	movq	%rdi, 8(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	movq	$0, 32(%r12)
	movl	56(%r15), %esi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_add_rx_queue
	movq	48(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.9:
	movq	_R3964_SIG_DATA@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_R3964_MSG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R3964_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movq	%r12, %r8
	callq	_add_msg
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE_PE
	movq	_R3964_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	40(%r15), %rdi
	callq	_wake_up_interruptible
	movq	_R3964_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trigger_transmit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R3964_BCC,4,2                  ## @R3964_BCC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"checksum error - got %x but expected %x"

	.comm	_R3964_CHECKSUM,4,2             ## @R3964_CHECKSUM
	.comm	_R3964_ERROR,4,2                ## @R3964_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"on_receive_block - transmission failed error %x"

	.comm	_NAK,4,2                        ## @NAK
	.comm	_R3964_MAX_RETRIES,8,3          ## @R3964_MAX_RETRIES
	.comm	_R3964_WAIT_FOR_RX_REPEAT,8,3   ## @R3964_WAIT_FOR_RX_REPEAT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_R3964_TO_RX_PANIC,8,3          ## @R3964_TO_RX_PANIC
L_.str.2:                               ## @.str.2
	.asciz	"on_receive_block - failed after max retries"

	.comm	_R3964_IDLE,8,3                 ## @R3964_IDLE
	.comm	_DLE,4,2                        ## @DLE
L_.str.3:                               ## @.str.3
	.asciz	" rx success: got %d chars"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"on_receive_block - kmalloc %p"

	.comm	_R3964_SIG_DATA,4,2             ## @R3964_SIG_DATA
	.comm	_R3964_MSG_DATA,4,2             ## @R3964_MSG_DATA
	.comm	_R3964_OK,4,2                   ## @R3964_OK
	.no_dead_strip	_on_receive_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_receive_block
_on_receive_block:                      ; @on_receive_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldp	w20, w8, [x0]
Lloh0:
	adrp	x9, _R3964_BCC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R3964_BCC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldp	x9, x10, [x19, #8]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.2:
	stp	x10, x9, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_PE
Lloh5:
	adrp	x8, _R3964_CHECKSUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R3964_CHECKSUM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_3:
Lloh8:
	adrp	x9, _R3964_ERROR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _R3964_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ands	w8, w9, w8
	b.eq	LBB0_6
; %bb.4:
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE_PE
Lloh13:
	adrp	x8, _NAK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NAK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
	ldr	x8, [x19, #24]
Lloh16:
	adrp	x9, _R3964_MAX_RETRIES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _R3964_MAX_RETRIES@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.5:
Lloh19:
	adrp	x9, _R3964_WAIT_FOR_RX_REPEAT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _R3964_WAIT_FOR_RX_REPEAT@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x8, x8, #1
	stp	x8, x9, [x19, #24]
	add	x0, x19, #60
Lloh22:
	adrp	x8, _jiffies@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _R3964_TO_RX_PANIC@GOTPAGE
Lloh26:
	ldr	x9, [x9, _R3964_TO_RX_PANIC@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	add	sp, sp, #96
	b	_mod_timer
LBB0_6:
Lloh28:
	adrp	x8, _DLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DLE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
	add	x0, x19, #60
	bl	_del_timer_sync
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_TRACE_PS
	add	w0, w20, #40
Lloh33:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x21, x0
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	bl	_TRACE_M
	cbz	x21, LBB0_13
; %bb.7:
	str	w20, [x21]
	add	x0, x21, #40
	stp	x0, xzr, [x21, #8]
	stp	xzr, xzr, [x21, #24]
	ldr	w1, [x19, #56]
	mov	x2, x20
	bl	_memcpy
	mov	x0, x19
	mov	x1, x21
	bl	_add_rx_queue
	ldr	x22, [x19, #48]
	cbz	x22, LBB0_14
; %bb.8:
Lloh38:
	adrp	x23, _R3964_SIG_DATA@GOTPAGE
Lloh39:
	ldr	x23, [x23, _R3964_SIG_DATA@GOTPAGEOFF]
Lloh40:
	adrp	x24, _R3964_MSG_DATA@GOTPAGE
Lloh41:
	ldr	x24, [x24, _R3964_MSG_DATA@GOTPAGEOFF]
Lloh42:
	adrp	x25, _R3964_OK@GOTPAGE
Lloh43:
	ldr	x25, [x25, _R3964_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x22
	mov	x2, x20
	mov	x4, x21
	bl	_add_msg
	b	LBB0_9
LBB0_12:
Lloh44:
	adrp	x0, l_.str.2@PAGE
Lloh45:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE_PE
Lloh46:
	adrp	x8, _R3964_IDLE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _R3964_IDLE@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_13:
	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
	add	sp, sp, #96
	ret
LBB0_14:
	add	x0, x19, #40
	bl	_wake_up_interruptible
Lloh49:
	adrp	x8, _R3964_IDLE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _R3964_IDLE@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_trigger_transmit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_R3964_BCC,4,2                  ; @R3964_BCC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"checksum error - got %x but expected %x"

	.comm	_R3964_CHECKSUM,4,2             ; @R3964_CHECKSUM
	.comm	_R3964_ERROR,4,2                ; @R3964_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"on_receive_block - transmission failed error %x"

	.comm	_NAK,4,2                        ; @NAK
	.comm	_R3964_MAX_RETRIES,8,3          ; @R3964_MAX_RETRIES
	.comm	_R3964_WAIT_FOR_RX_REPEAT,8,3   ; @R3964_WAIT_FOR_RX_REPEAT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_R3964_TO_RX_PANIC,8,3          ; @R3964_TO_RX_PANIC
l_.str.2:                               ; @.str.2
	.asciz	"on_receive_block - failed after max retries"

	.comm	_R3964_IDLE,8,3                 ; @R3964_IDLE
	.comm	_DLE,4,2                        ; @DLE
l_.str.3:                               ; @.str.3
	.asciz	" rx success: got %d chars"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"on_receive_block - kmalloc %p"

	.comm	_R3964_SIG_DATA,4,2             ; @R3964_SIG_DATA
	.comm	_R3964_MSG_DATA,4,2             ; @R3964_MSG_DATA
	.comm	_R3964_OK,4,2                   ; @R3964_OK
	.no_dead_strip	_on_receive_block
.subsections_via_symbols
