	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_burst_send
_sii8620_burst_send:                    ## @sii8620_burst_send
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r12d
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.1:
	movq	8(%r14), %r15
	movq	16(%r14), %rax
	movq	_REG_EMSC_XMIT_WRITE_PORT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15), %rbx
	addq	%rbx, %rax
	addq	$2, %rax
	cmpq	24(%r14), %rax
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rbx
	movq	32(%r14), %rdi
	movl	$255, %esi
	callq	_min
	movl	%eax, (%r15)
	cltq
	subq	%rax, 32(%r14)
	movl	(%r13), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_sii8620_write_buf
	leaq	(%r15,%rbx,4), %r15
	movq	%rbx, %rax
	addq	16(%r14), %rax
	movq	%rax, 16(%r14)
	subl	%ebx, %r12d
	jg	LBB0_2
LBB0_4:
	movl	%r12d, (%r14)
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	jle	LBB0_8
## %bb.5:
	movq	_REG_EMSC_XMIT_WRITE_PORT@GOTPCREL(%rip), %r15
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$255, %esi
	callq	_min
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movq	16(%r14), %rcx
	addq	$2, %rcx
	cmpq	24(%r14), %rcx
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cltq
	subq	%rax, 32(%r14)
	movl	(%r15), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$2, %ecx
	callq	_sii8620_write_buf
	addq	$2, 16(%r14)
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	jg	LBB0_6
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_EMSC_XMIT_WRITE_PORT,4,2   ## @REG_EMSC_XMIT_WRITE_PORT
	.no_dead_strip	_sii8620_burst_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_burst_send
_sii8620_burst_send:                    ; @sii8620_burst_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w23, [x0]
Lloh3:
	adrp	x22, _REG_EMSC_XMIT_WRITE_PORT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _REG_EMSC_XMIT_WRITE_PORT@GOTPAGEOFF]
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.1:
	ldp	x20, x8, [x19, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x20, #4]
	add	x21, x9, #2
	ldr	x9, [x19, #24]
	add	x8, x8, x21
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #32]
	mov	w1, #255
	bl	_min
	str	w0, [x20]
	ldr	x8, [x19, #32]
	sub	x8, x8, w0, sxtw
	str	x8, [x19, #32]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_sii8620_write_buf
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	str	x8, [x19, #16]
	sub	w23, w23, w21
	add	x20, x20, x21, lsl #2
	cmp	w23, #0
	b.gt	LBB0_2
LBB0_4:
	str	w23, [x19]
	ldr	x0, [x19, #32]
	cmp	x0, #1
	b.lt	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #255
	bl	_min
	stp	w0, wzr, [sp]
	ldp	x8, x9, [x19, #16]
	add	x8, x8, #2
	cmp	x8, x9
	b.gt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	sub	x8, x8, w0, sxtw
	str	x8, [x19, #32]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #2
	bl	_sii8620_write_buf
	ldr	x8, [x19, #16]
	add	x8, x8, #2
	str	x8, [x19, #16]
	ldr	x0, [x19, #32]
	cmp	x0, #0
	b.gt	LBB0_5
LBB0_7:
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_EMSC_XMIT_WRITE_PORT,4,2   ; @REG_EMSC_XMIT_WRITE_PORT
	.no_dead_strip	_sii8620_burst_send
.subsections_via_symbols
