	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_hw_csr_reg
_ohci_hw_csr_reg:                       ## @ohci_hw_csr_reg
	.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
	movl	%ecx, %r14d
	movl	%esi, %r15d
	movq	(%rdi), %r13
	movq	_OHCI1394_CSRData@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_reg_write
	movq	_OHCI1394_CSRCompareData@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_reg_write
	movq	_OHCI1394_CSRControl@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	andl	$3, %r15d
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_reg_write
	movq	_OHCI_LOOP_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_reg_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_mdelay
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_4:
	movl	(%r12), %esi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_read                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI1394_CSRData,4,2           ## @OHCI1394_CSRData
	.comm	_OHCI1394_CSRCompareData,4,2    ## @OHCI1394_CSRCompareData
	.comm	_OHCI1394_CSRControl,4,2        ## @OHCI1394_CSRControl
	.comm	_OHCI_LOOP_COUNT,4,2            ## @OHCI_LOOP_COUNT
	.no_dead_strip	_ohci_hw_csr_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_hw_csr_reg
_ohci_hw_csr_reg:                       ; @ohci_hw_csr_reg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x22, _OHCI1394_CSRData@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OHCI1394_CSRData@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_reg_write
Lloh2:
	adrp	x8, _OHCI1394_CSRCompareData@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OHCI1394_CSRCompareData@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_reg_write
Lloh5:
	adrp	x20, _OHCI1394_CSRControl@GOTPAGE
Lloh6:
	ldr	x20, [x20, _OHCI1394_CSRControl@GOTPAGEOFF]
	ldr	w1, [x20]
	and	w2, w21, #0x3
	mov	x0, x19
	bl	_reg_write
Lloh7:
	adrp	x21, _OHCI_LOOP_COUNT@GOTPAGE
Lloh8:
	ldr	x21, [x21, _OHCI_LOOP_COUNT@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	bl	_reg_read
	tbnz	w0, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	bl	_mdelay
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_4:
	ldr	w1, [x22]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_reg_read
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI1394_CSRData,4,2           ; @OHCI1394_CSRData
	.comm	_OHCI1394_CSRCompareData,4,2    ; @OHCI1394_CSRCompareData
	.comm	_OHCI1394_CSRControl,4,2        ; @OHCI1394_CSRControl
	.comm	_OHCI_LOOP_COUNT,4,2            ; @OHCI_LOOP_COUNT
	.no_dead_strip	_ohci_hw_csr_reg
.subsections_via_symbols
