	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_write_csr
_ohci_write_csr:                        ## @ohci_write_csr
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_fw_ohci
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_20
## %bb.1:
	movq	%rax, %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_CSR_STATE_BIT_CMSTR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.8:
	cmpl	$0, 12(%r14)
	je	LBB0_10
## %bb.9:
	movq	_OHCI1394_LinkControlSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_LinkControl_cycleMaster@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	%r14, %rdi
	callq	_flush_writes
LBB0_10:
	movq	_CSR_STATE_BIT_ABDICATE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.11:
	movl	$1, (%r14)
	jmp	LBB0_12
LBB0_20:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_2:
	movq	_CSR_STATE_BIT_CMSTR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.3:
	cmpl	$0, 12(%r14)
	je	LBB0_5
## %bb.4:
	movq	_OHCI1394_LinkControlClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_LinkControl_cycleMaster@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	%r14, %rdi
	callq	_flush_writes
LBB0_5:
	movq	_CSR_STATE_BIT_ABDICATE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.6:
	movl	$0, (%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_OHCI1394_FairnessControl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	$63, %r15d
	jmp	LBB0_14
LBB0_13:
	movq	_OHCI1394_NodeID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	sarl	$16, %r15d
	jmp	LBB0_14
LBB0_16:
	movq	_OHCI1394_IsochronousCycleTimer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_reg_write
	movq	_OHCI1394_IntEventSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_cycleInconsistent@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_15
LBB0_17:
	movq	%r14, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	_update_bus_time
	andl	$64, %eax
	andl	$-128, %r15d
	orl	%eax, %r15d
	movl	%r15d, 4(%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_18:
	movl	%r15d, %eax
	andl	$15, %eax
	imull	$273, %eax, %eax                ## imm = 0x111
	shll	$4, %r15d
	andl	$-65536, %r15d                  ## imm = 0xFFFF0000
	orl	%eax, %r15d
	movq	_OHCI1394_ATRetries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_14:
	movq	%r14, %rdi
	movl	%r15d, %edx
LBB0_15:
	callq	_reg_write
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_writes                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_CSR_STATE_BIT_CMSTR,4,2        ## @CSR_STATE_BIT_CMSTR
	.comm	_OHCI1394_LinkControlClear,4,2  ## @OHCI1394_LinkControlClear
	.comm	_OHCI1394_LinkControl_cycleMaster,4,2 ## @OHCI1394_LinkControl_cycleMaster
	.comm	_CSR_STATE_BIT_ABDICATE,4,2     ## @CSR_STATE_BIT_ABDICATE
	.comm	_OHCI1394_LinkControlSet,4,2    ## @OHCI1394_LinkControlSet
	.comm	_OHCI1394_NodeID,4,2            ## @OHCI1394_NodeID
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ## @OHCI1394_IsochronousCycleTimer
	.comm	_OHCI1394_IntEventSet,4,2       ## @OHCI1394_IntEventSet
	.comm	_OHCI1394_cycleInconsistent,4,2 ## @OHCI1394_cycleInconsistent
	.comm	_OHCI1394_ATRetries,4,2         ## @OHCI1394_ATRetries
	.comm	_OHCI1394_FairnessControl,4,2   ## @OHCI1394_FairnessControl
	.no_dead_strip	_ohci_write_csr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_write_csr
_ohci_write_csr:                        ; @ohci_write_csr
	.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	x20, x2
	mov	x21, x1
	bl	_fw_ohci
	sub	w8, w21, #128
	cmp	w8, #6
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _CSR_STATE_BIT_CMSTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR_STATE_BIT_CMSTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _OHCI1394_LinkControlSet@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OHCI1394_LinkControlSet@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
	mov	x0, x19
	bl	_flush_writes
LBB0_5:
Lloh11:
	adrp	x8, _CSR_STATE_BIT_ABDICATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CSR_STATE_BIT_ABDICATE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_13
LBB0_7:
	mov	w0, #1
	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	_WARN_ON
LBB0_8:
Lloh14:
	adrp	x8, _CSR_STATE_BIT_CMSTR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CSR_STATE_BIT_CMSTR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.9:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_11
; %bb.10:
Lloh17:
	adrp	x8, _OHCI1394_LinkControlClear@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OHCI1394_LinkControlClear@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
	mov	x0, x19
	bl	_flush_writes
LBB0_11:
Lloh23:
	adrp	x8, _CSR_STATE_BIT_ABDICATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CSR_STATE_BIT_ABDICATE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.12:
	str	wzr, [x19]
LBB0_13:
	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
	ret
LBB0_14:
Lloh26:
	adrp	x8, _OHCI1394_FairnessControl@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OHCI1394_FairnessControl@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	and	w2, w20, #0x3f
	b	LBB0_19
LBB0_15:
Lloh29:
	adrp	x8, _OHCI1394_NodeID@GOTPAGE
Lloh30:
	ldr	x8, [x8, _OHCI1394_NodeID@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	asr	w2, w20, #16
	b	LBB0_19
LBB0_16:
Lloh32:
	adrp	x8, _OHCI1394_IsochronousCycleTimer@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OHCI1394_IsochronousCycleTimer@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_reg_write
Lloh35:
	adrp	x8, _OHCI1394_IntEventSet@GOTPAGE
Lloh36:
	ldr	x8, [x8, _OHCI1394_IntEventSet@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _OHCI1394_cycleInconsistent@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OHCI1394_cycleInconsistent@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	b	LBB0_19
LBB0_17:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_update_bus_time
	and	w8, w0, #0x40
	and	w9, w20, #0xffffff80
	orr	w8, w8, w9
	str	w8, [x19, #4]
	mov	x0, x21
	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	_spin_unlock_irqrestore
LBB0_18:
	lsr	w8, w20, #12
	and	w9, w20, #0xf
	mov	w10, #273
	mul	w2, w9, w10
	bfi	w2, w8, #16, #16
Lloh41:
	adrp	x8, _OHCI1394_ATRetries@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OHCI1394_ATRetries@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
LBB0_19:
	mov	x0, x19
	bl	_reg_write
	mov	x0, x19
	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	_flush_writes
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_CSR_STATE_BIT_CMSTR,4,2        ; @CSR_STATE_BIT_CMSTR
	.comm	_OHCI1394_LinkControlClear,4,2  ; @OHCI1394_LinkControlClear
	.comm	_OHCI1394_LinkControl_cycleMaster,4,2 ; @OHCI1394_LinkControl_cycleMaster
	.comm	_CSR_STATE_BIT_ABDICATE,4,2     ; @CSR_STATE_BIT_ABDICATE
	.comm	_OHCI1394_LinkControlSet,4,2    ; @OHCI1394_LinkControlSet
	.comm	_OHCI1394_NodeID,4,2            ; @OHCI1394_NodeID
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ; @OHCI1394_IsochronousCycleTimer
	.comm	_OHCI1394_IntEventSet,4,2       ; @OHCI1394_IntEventSet
	.comm	_OHCI1394_cycleInconsistent,4,2 ; @OHCI1394_cycleInconsistent
	.comm	_OHCI1394_ATRetries,4,2         ; @OHCI1394_ATRetries
	.comm	_OHCI1394_FairnessControl,4,2   ; @OHCI1394_FairnessControl
	.no_dead_strip	_ohci_write_csr
.subsections_via_symbols
