	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_cy_cmd                   ## -- Begin function write_cy_cmd
	.p2align	4, 0x90
_write_cy_cmd:                          ## @write_cy_cmd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_local_irq_save
	movl	$0, -28(%rbp)
	movl	-28(%rbp), %eax
	cmpl	$99, %eax
	jg	LBB0_4
## %bb.1:
	movq	_CyCCR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_my_udelay
	incl	-28(%rbp)
	movl	-28(%rbp), %eax
	cmpl	$100, %eax
	jl	LBB0_2
LBB0_4:
	movl	-28(%rbp), %eax
	movl	$-1, %r15d
	cmpl	$10, %eax
	je	LBB0_6
## %bb.5:
	movq	_CyCCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, (%rbx,%rax,8)
	xorl	%r15d, %r15d
LBB0_6:
	callq	_local_irq_restore
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CyCCR,8,3                      ## @CyCCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_cy_cmd                   ; -- Begin function write_cy_cmd
	.p2align	2
_write_cy_cmd:                          ; @write_cy_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_local_irq_save
	str	wzr, [sp, #12]
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x22, _CyCCR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CyCCR@GOTPAGEOFF]
	cmp	w8, #99
	b.gt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #10
	bl	_my_udelay
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #12]
	ldr	w8, [sp, #12]
	cmp	w8, #100
	b.lt	LBB0_1
LBB0_3:
	ldr	w8, [sp, #12]
	cmp	w8, #10
	b.ne	LBB0_5
; %bb.4:
	mov	w21, #-1
	b	LBB0_6
LBB0_5:
	mov	w21, #0
	ldr	x8, [x22]
	str	x19, [x20, x8, lsl #3]
LBB0_6:
	bl	_local_irq_restore
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CyCCR,8,3                      ; @CyCCR
.subsections_via_symbols
