	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SI_Transfer                    ## -- Begin function SI_Transfer
	.p2align	4, 0x90
_SI_Transfer:                           ## @SI_Transfer
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	__CPU_ISR_Disable
	movq	_sipacket@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	$56, %r14, %rbx
	xorl	%r12d, %r12d
	cmpl	$-1, (%rax,%rbx)
	jne	LBB0_9
## %bb.1:
	movq	_sicntrl@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_9
## %bb.2:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r15
	xorl	%eax, %eax
	callq	_gettime
	movq	%rax, %r12
	testq	%r15, %r15
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movq	_xferTime@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %r13
	movq	%r15, %rdi
	callq	_microsecs_to_ticks
	addq	%r13, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	subq	%r12, %rdi
	jle	LBB0_5
## %bb.7:
	movq	$0, -104(%rbp)
	callq	_ticks_to_nanosecs
	movl	%eax, -112(%rbp)
	movq	_si_alarm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edi
	movq	___si_alarmhandler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_SYS_SetAlarm
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_3:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
LBB0_5:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %r13
	movq	%r15, %rcx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	___si_transfer
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	callq	__CPU_ISR_Restore
	movl	$1, %r12d
	jmp	LBB0_10
LBB0_8:
	movq	_sipacket@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, (%rax,%rdx)
	movq	%r12, 48(%rax,%rdx)
	movq	(%rcx), %rax
	movq	%rbx, 40(%rax,%rdx)
	movq	(%rcx), %rax
	movq	%r13, 32(%rax,%rdx)
	movq	(%rcx), %rax
	movq	%r15, 24(%rax,%rdx)
	movq	(%rcx), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rax,%rdx)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax,%rdx)
	movl	$1, %r12d
LBB0_9:
	callq	__CPU_ISR_Restore
LBB0_10:
	movq	%r12, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sipacket,8,3                   ## @sipacket
	.comm	_sicntrl,8,3                    ## @sicntrl
	.comm	_xferTime,8,3                   ## @xferTime
	.comm	_si_alarm,8,3                   ## @si_alarm
	.comm	___si_alarmhandler,4,2          ## @__si_alarmhandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SI_Transfer                    ; -- Begin function SI_Transfer
	.p2align	2
_SI_Transfer:                           ; @SI_Transfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x25, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	__CPU_ISR_Disable
Lloh0:
	adrp	x27, _sipacket@GOTPAGE
Lloh1:
	ldr	x27, [x27, _sipacket@GOTPAGEOFF]
	ldr	x8, [x27]
	mov	w9, #56
	mul	x9, x24, x9
	ldr	w8, [x8, x9]
Lloh2:
	adrp	x9, _sicntrl@GOTPAGE
Lloh3:
	ldr	x9, [x9, _sicntrl@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmn	w8, #1
	ccmp	x9, x24, #4, eq
	b.ne	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_9
LBB0_2:
	bl	_gettime
	mov	x26, x0
	cbz	x25, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _xferTime@GOTPAGE
Lloh6:
	ldr	x8, [x8, _xferTime@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x28, [x8, x24, lsl #3]
	mov	x0, x25
	bl	_microsecs_to_ticks
	add	x25, x0, x28
	subs	x0, x25, x26
	b.le	LBB0_6
; %bb.4:
	str	xzr, [sp, #8]
	bl	_ticks_to_nanosecs
	str	w0, [sp]
Lloh8:
	adrp	x8, _si_alarm@GOTPAGE
Lloh9:
	ldr	x8, [x8, _si_alarm@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x8, x24, lsl #2]
Lloh11:
	adrp	x8, ___si_alarmhandler@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___si_alarmhandler@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x3, #0
	bl	_SYS_SetAlarm
	b	LBB0_8
LBB0_5:
	mov	x25, x26
LBB0_6:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	___si_transfer
	cbz	x0, LBB0_8
; %bb.7:
	bl	__CPU_ISR_Restore
	mov	w19, #1
	b	LBB0_10
LBB0_8:
	ldr	x8, [x27]
	mov	w9, #56
	mul	x9, x24, x9
	add	x8, x8, x9
	str	w24, [x8]
	str	x23, [x8, #48]
	ldr	x8, [x27]
	add	x8, x8, x9
	str	x22, [x8, #40]
	ldr	x8, [x27]
	add	x8, x8, x9
	str	x21, [x8, #32]
	ldr	x8, [x27]
	add	x8, x8, x9
	str	x20, [x8, #24]
	ldr	x8, [x27]
	add	x8, x8, x9
	str	w19, [x8, #16]
	str	x25, [x8, #8]
	mov	w19, #1
LBB0_9:
	bl	__CPU_ISR_Restore
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_sipacket,8,3                   ; @sipacket
	.comm	_sicntrl,8,3                    ; @sicntrl
	.comm	_xferTime,8,3                   ; @xferTime
	.comm	_si_alarm,8,3                   ; @si_alarm
	.comm	___si_alarmhandler,4,2          ; @__si_alarmhandler
.subsections_via_symbols
