	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retry_transmit
_retry_transmit:                        ## @retry_transmit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	_R3964_MAX_RETRIES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_TRACE_PE
	movq	$0, 16(%rbx)
	movq	_STX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_put_char
	movq	%rbx, %rdi
	callq	_flush
	movq	_R3964_TX_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	incq	(%rbx)
	addq	$12, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_R3964_TO_QVZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE_PE
	movq	_R3964_TX_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_remove_from_tx_queue
	movq	_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_put_char
	movq	%rbx, %rdi
	callq	_flush
	movq	_R3964_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_trigger_transmit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R3964_MAX_RETRIES,8,3          ## @R3964_MAX_RETRIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmission failed. Retry #%d"

	.comm	_STX,4,2                        ## @STX
	.comm	_R3964_TX_REQUEST,4,2           ## @R3964_TX_REQUEST
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_R3964_TO_QVZ,8,3               ## @R3964_TO_QVZ
L_.str.1:                               ## @.str.1
	.asciz	"transmission failed after %d retries"

	.comm	_R3964_TX_FAIL,4,2              ## @R3964_TX_FAIL
	.comm	_NAK,4,2                        ## @NAK
	.comm	_R3964_IDLE,4,2                 ## @R3964_IDLE
	.no_dead_strip	_retry_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retry_transmit
_retry_transmit:                        ; @retry_transmit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x8, _R3964_MAX_RETRIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R3964_MAX_RETRIES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_PE
	str	xzr, [x19, #16]
Lloh5:
	adrp	x8, _STX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
Lloh8:
	adrp	x8, _R3964_TX_REQUEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R3964_TX_REQUEST@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	add	x0, x19, #12
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _R3964_TO_QVZ@GOTPAGE
Lloh15:
	ldr	x9, [x9, _R3964_TO_QVZ@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_2:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x8
	bl	_TRACE_PE
Lloh19:
	adrp	x8, _R3964_TX_FAIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _R3964_TX_FAIL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_remove_from_tx_queue
Lloh22:
	adrp	x8, _NAK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NAK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_put_char
	mov	x0, x19
	bl	_flush
Lloh25:
	adrp	x8, _R3964_IDLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _R3964_IDLE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trigger_transmit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_R3964_MAX_RETRIES,8,3          ; @R3964_MAX_RETRIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmission failed. Retry #%d"

	.comm	_STX,4,2                        ; @STX
	.comm	_R3964_TX_REQUEST,4,2           ; @R3964_TX_REQUEST
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_R3964_TO_QVZ,8,3               ; @R3964_TO_QVZ
l_.str.1:                               ; @.str.1
	.asciz	"transmission failed after %d retries"

	.comm	_R3964_TX_FAIL,4,2              ; @R3964_TX_FAIL
	.comm	_NAK,4,2                        ; @NAK
	.comm	_R3964_IDLE,4,2                 ; @R3964_IDLE
	.no_dead_strip	_retry_transmit
.subsections_via_symbols
