	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_csi_write
_rtl_csi_write:                         ## @rtl_csi_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_PCI_FUNC
	movl	%eax, %ebx
	movq	_CSIDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_RTL_W32
	movq	_CSIAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSIAR_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_CSIAR_WRITE_CMD@GOTPCREL(%rip), %rax
	shll	$16, %ebx
	orl	(%rax), %ebx
	movq	_CSIAR_BYTE_ENABLE@GOTPCREL(%rip), %rax
	orl	%r14d, %ebx
	orl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_RTL_W32
	movq	_rtl_csiar_cond@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	movl	$100, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_udelay_loop_wait_low       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSIDR,4,2                      ## @CSIDR
	.comm	_CSIAR,4,2                      ## @CSIAR
	.comm	_CSIAR_WRITE_CMD,4,2            ## @CSIAR_WRITE_CMD
	.comm	_CSIAR_ADDR_MASK,4,2            ## @CSIAR_ADDR_MASK
	.comm	_CSIAR_BYTE_ENABLE,4,2          ## @CSIAR_BYTE_ENABLE
	.comm	_rtl_csiar_cond,4,2             ## @rtl_csiar_cond
	.no_dead_strip	_rtl_csi_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_csi_write
_rtl_csi_write:                         ; @rtl_csi_write
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_PCI_FUNC
	mov	x22, x0
Lloh0:
	adrp	x8, _CSIDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSIDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_RTL_W32
Lloh3:
	adrp	x8, _CSIAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSIAR@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CSIAR_WRITE_CMD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CSIAR_WRITE_CMD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _CSIAR_ADDR_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CSIAR_ADDR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w20
Lloh12:
	adrp	x10, _CSIAR_BYTE_ENABLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CSIAR_BYTE_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w8, w22, lsl #16
	orr	w8, w8, w9
	orr	w2, w8, w10
	mov	x0, x21
	bl	_RTL_W32
Lloh15:
	adrp	x1, _rtl_csiar_cond@GOTPAGE
Lloh16:
	ldr	x1, [x1, _rtl_csiar_cond@GOTPAGEOFF]
	mov	x0, x21
	mov	w2, #10
	mov	w3, #100
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_udelay_loop_wait_low
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSIDR,4,2                      ; @CSIDR
	.comm	_CSIAR,4,2                      ; @CSIAR
	.comm	_CSIAR_WRITE_CMD,4,2            ; @CSIAR_WRITE_CMD
	.comm	_CSIAR_ADDR_MASK,4,2            ; @CSIAR_ADDR_MASK
	.comm	_CSIAR_BYTE_ENABLE,4,2          ; @CSIAR_BYTE_ENABLE
	.comm	_rtl_csiar_cond,4,2             ; @rtl_csiar_cond
	.no_dead_strip	_rtl_csi_write
.subsections_via_symbols
