	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_data_write              ## -- Begin function cw1200_data_write
	.p2align	4, 0x90
_cw1200_data_write:                     ## @cw1200_data_write
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	4(%rdi), %edi
	movq	8(%rbx), %rax
	callq	*8(%rax)
	movq	_MAX_RETRY@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ST90TDS_IN_OUT_QUEUE_REG_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, %r8d
	callq	___cw1200_reg_write
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	movl	$1, %edi
	callq	_mdelay
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_pr_err
	incl	%r15d
	movq	_MAX_RETRY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_3
	jmp	LBB0_6
LBB0_1:
                                        ## implicit-def: $r13d
	jmp	LBB0_6
LBB0_4:
	incl	%r14d
	andl	$31, %r14d
	movl	%r14d, (%rbx)
	xorl	%r13d, %r13d
LBB0_6:
	movq	8(%rbx), %rax
	movl	4(%rbx), %edi
	callq	*(%rax)
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RETRY,4,2                  ## @MAX_RETRY
	.comm	_ST90TDS_IN_OUT_QUEUE_REG_ID,4,2 ## @ST90TDS_IN_OUT_QUEUE_REG_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error :[%d]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_data_write              ; -- Begin function cw1200_data_write
	.p2align	2
_cw1200_data_write:                     ; @cw1200_data_write
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	ldp	w22, w0, [x0]
	blr	x8
Lloh0:
	adrp	x25, _MAX_RETRY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAX_RETRY@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w26, #0
Lloh2:
	adrp	x27, _ST90TDS_IN_OUT_QUEUE_REG_ID@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ST90TDS_IN_OUT_QUEUE_REG_ID@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	bl	___cw1200_reg_write
	mov	x23, x0
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	bl	_mdelay
	mov	x0, x24
	mov	x1, x23
	bl	_pr_err
	ldr	w8, [x25]
	add	w26, w26, #1
	cmp	w26, w8
	b.lt	LBB0_2
	b	LBB0_6
LBB0_4:
                                        ; implicit-def: $w23
	b	LBB0_6
LBB0_5:
	add	w8, w22, #1
	and	w8, w8, #0x1f
	str	w8, [x19]
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19, #4]
	blr	x8
	mov	x0, x23
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RETRY,4,2                  ; @MAX_RETRY
	.comm	_ST90TDS_IN_OUT_QUEUE_REG_ID,4,2 ; @ST90TDS_IN_OUT_QUEUE_REG_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error :[%d]\n"

.subsections_via_symbols
