	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_read_csr
_ohci_read_csr:                         ## @ohci_read_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_fw_ohci
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_5
## %bb.1:
	movq	%rax, %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	cmpl	$0, 12(%r14)
	je	LBB0_11
## %bb.3:
	movq	_OHCI1394_LinkControlSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_reg_read
	movl	%eax, %ecx
	movq	_OHCI1394_LinkControl_cycleMaster@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	je	LBB0_12
## %bb.4:
	movq	_CSR_STATE_BIT_CMSTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_12
LBB0_5:
	movl	$1, %edi
	callq	_WARN_ON
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_6:
	movq	_OHCI1394_FairnessControl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_reg_read
	movl	%eax, %ecx
	andl	$63, %ecx
	movl	(%r14), %eax
	shll	$8, %eax
	jmp	LBB0_14
LBB0_7:
	movq	_OHCI1394_NodeID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_reg_read
	shll	$16, %eax
	jmp	LBB0_15
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_get_cycle_time                 ## TAILCALL
LBB0_9:
	movq	%r14, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	_update_bus_time
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	jmp	LBB0_15
LBB0_10:
	movq	_OHCI1394_ATRetries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_reg_read
	shrl	$4, %eax
	andl	$268431375, %eax                ## imm = 0xFFFF00F
	jmp	LBB0_15
LBB0_11:
	xorl	%ecx, %ecx
LBB0_12:
	movl	8(%r14), %eax
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	_CSR_STATE_BIT_ABDICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	orl	%ecx, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_OHCI1394_LinkControlSet,4,2    ## @OHCI1394_LinkControlSet
	.comm	_OHCI1394_LinkControl_cycleMaster,4,2 ## @OHCI1394_LinkControl_cycleMaster
	.comm	_CSR_STATE_BIT_CMSTR,4,2        ## @CSR_STATE_BIT_CMSTR
	.comm	_CSR_STATE_BIT_ABDICATE,4,2     ## @CSR_STATE_BIT_ABDICATE
	.comm	_OHCI1394_NodeID,4,2            ## @OHCI1394_NodeID
	.comm	_OHCI1394_ATRetries,4,2         ## @OHCI1394_ATRetries
	.comm	_OHCI1394_FairnessControl,4,2   ## @OHCI1394_FairnessControl
	.no_dead_strip	_ohci_read_csr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_read_csr
_ohci_read_csr:                         ; @ohci_read_csr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_fw_ohci
	sub	w8, w20, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %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:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _OHCI1394_LinkControlSet@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OHCI1394_LinkControlSet@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_read
Lloh5:
	adrp	x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OHCI1394_LinkControl_cycleMaster@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CSR_STATE_BIT_CMSTR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CSR_STATE_BIT_CMSTR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
LBB0_4:
	ldr	w9, [x19, #8]
Lloh11:
	adrp	x10, _CSR_STATE_BIT_ABDICATE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CSR_STATE_BIT_ABDICATE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, wzr, w10, eq
	orr	w0, w9, w8
	b	LBB0_10
LBB0_5:
	mov	w0, #1
	bl	_WARN_ON
	mov	w0, #0
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _OHCI1394_FairnessControl@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OHCI1394_FairnessControl@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_read
	and	w0, w0, #0x3f
	ldr	w8, [x19]
	bfi	w0, w8, #8, #24
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x8, _OHCI1394_NodeID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OHCI1394_NodeID@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_read
	lsl	w0, w0, #16
	b	LBB0_10
LBB0_8:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_update_bus_time
	mov	x19, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x8, _OHCI1394_ATRetries@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OHCI1394_ATRetries@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_read
	lsr	w8, w0, #4
	and	w0, w8, #0xfffff00f
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_get_cycle_time
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_OHCI1394_LinkControlSet,4,2    ; @OHCI1394_LinkControlSet
	.comm	_OHCI1394_LinkControl_cycleMaster,4,2 ; @OHCI1394_LinkControl_cycleMaster
	.comm	_CSR_STATE_BIT_CMSTR,4,2        ; @CSR_STATE_BIT_CMSTR
	.comm	_CSR_STATE_BIT_ABDICATE,4,2     ; @CSR_STATE_BIT_ABDICATE
	.comm	_OHCI1394_NodeID,4,2            ; @OHCI1394_NodeID
	.comm	_OHCI1394_ATRetries,4,2         ; @OHCI1394_ATRetries
	.comm	_OHCI1394_FairnessControl,4,2   ; @OHCI1394_FairnessControl
	.no_dead_strip	_ohci_read_csr
.subsections_via_symbols
