	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_initialize
_ohci_initialize:                       ## @ohci_initialize
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$48, %rdi
	callq	_spin_lock_init
	movq	_OHCI1394_BusOptions@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_reg_read
	movq	_hpsb_disable_irm@GOTPCREL(%rip), %r12
	movl	%eax, %edx
	andl	$117506047, %edx                ## imm = 0x700FFFF
	orl	$1610612736, %edx               ## imm = 0x60000000
	orl	$-536870912, %eax               ## imm = 0xE0000000
	cmpq	$0, (%r12)
	cmovel	%eax, %edx
	andl	$-419364865, %edx               ## imm = 0xE700FFFF
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_NodeID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65472, %edx                    ## imm = 0xFFC0
	callq	_reg_write
	movq	_OHCI1394_HCControlSet@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_OHCI1394_HCControl_postedWriteEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_LinkControlClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_reg_write
	movq	_OHCI1394_LinkControlSet@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_OHCI1394_LinkControl_CycleTimerEnable@GOTPCREL(%rip), %rax
	movq	_OHCI1394_LinkControl_CycleMaster@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_phy_reg
	movq	_PHY_04_LCTRL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PHY_04_CONTENDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpq	$0, (%r12)
	cmovnel	%ecx, %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_set_phy_reg
	movq	_OHCI1394_SelfIDBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movl	(%rbx), %esi
	movq	_OHCI1394_LinkControl_RcvSelfID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_ConfigROMmap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_reg_read
	shrl	$12, %eax
	andb	$15, %al
	movl	$2, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, 8(%r14)
	movq	_OHCI1394_IsoRecvIntMaskClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_reg_write
	movq	_OHCI1394_IsoRecvIntEventClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_reg_write
	movq	_OHCI1394_IsoXmitIntMaskClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_reg_write
	movq	_OHCI1394_IsoXmitIntEventClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_reg_write
	leaq	44(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_initialize_dma_rcv_ctx
	leaq	40(%r14), %rdi
	xorl	%esi, %esi
	callq	_initialize_dma_rcv_ctx
	leaq	36(%r14), %rdi
	callq	_initialize_dma_trm_ctx
	leaq	32(%r14), %rdi
	callq	_initialize_dma_trm_ctx
	movq	_OHCI1394_AsReqFilterHiSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_reg_write
	movq	_OHCI1394_PhyUpperBound@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED@GOTPCREL(%rip), %rax
	movswl	2(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_reg_read
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DBGMSG
	movq	_OHCI1394_ATRetries@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_MAX_AT_REQ_RETRIES@GOTPCREL(%rip), %rax
	movq	_OHCI1394_MAX_AT_RESP_RETRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$4, %ecx
	orl	(%rax), %ecx
	movq	_OHCI1394_MAX_PHYS_RESP_RETRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$8, %edx
	orl	%ecx, %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_HCControlClear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_HCControl_noByteSwap@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_unrecoverableError@GOTPCREL(%rip), %rax
	movq	_OHCI1394_masterIntEnable@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_OHCI1394_busReset@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_selfIDComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_RSPkt@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_RQPkt@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_respTxComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_reqTxComplete@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_isochRx@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_isochTx@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_postedWriteErr@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_OHCI1394_IntMaskSet@GOTPCREL(%rip), %rax
	movq	_OHCI1394_cycleTooLong@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_OHCI1394_cycleInconsistent@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movl	(%r15), %esi
	movq	_OHCI1394_HCControl_linkEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_reg_write
	movq	_OHCI1394_Version@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_reg_read
                                        ## kill: def $eax killed $eax def $rax
	movq	_KERN_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$15, %ecx
	movl	%eax, %edx
	shrl	$20, %edx
	andl	$15, %edx
	leal	(%rdx,%rdx,4), %edx
	leal	(%rcx,%rdx,2), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$15, %ecx
	andl	$15, %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r14), %rdi
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	callq	_pci_resource_start
	movq	%rax, %r12
	movq	24(%r14), %rdi
	xorl	%esi, %esi
	callq	_pci_resource_start
	movq	_OHCI1394_REGISTER_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %r10
	decq	%r10
	movl	16(%r14), %r11d
	movl	8(%r14), %r13d
	movl	12(%r14), %r15d
	leaq	L_.str.1(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r12, %r9
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r11
	pushq	%r13
	pushq	%r10
	callq	_PRINT
	addq	$32, %rsp
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_phy_reg
	movl	%eax, %r15d
	andl	$15, %r15d
	jne	LBB0_1
LBB0_4:
	movl	$-4097, %eax                    ## imm = 0xEFFF
	addl	8(%r14), %eax
	cmpl	$-3586, %eax                    ## imm = 0xF1FE
	ja	LBB0_6
## %bb.5:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_PRINT
	movq	_OHCI1394_BusOptions@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_reg_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$28677, %eax                    ## imm = 0x7005
	leal	32770(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_reg_write
	movl	$512, 8(%r14)                   ## imm = 0x200
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	%ebx, %r15d
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$7, %esi
	movl	%ebx, %edx
	callq	_set_phy_reg
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_get_phy_reg
	testb	$32, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	andl	$-2, %eax
	movq	%r14, %rdi
	movl	$8, %esi
	movl	%eax, %edx
	callq	_set_phy_reg
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI1394_BusOptions,4,2        ## @OHCI1394_BusOptions
	.comm	_hpsb_disable_irm,8,3           ## @hpsb_disable_irm
	.comm	_OHCI1394_NodeID,4,2            ## @OHCI1394_NodeID
	.comm	_OHCI1394_HCControlSet,4,2      ## @OHCI1394_HCControlSet
	.comm	_OHCI1394_HCControl_postedWriteEnable,4,2 ## @OHCI1394_HCControl_postedWriteEnable
	.comm	_OHCI1394_LinkControlClear,4,2  ## @OHCI1394_LinkControlClear
	.comm	_OHCI1394_LinkControlSet,4,2    ## @OHCI1394_LinkControlSet
	.comm	_OHCI1394_LinkControl_CycleTimerEnable,4,2 ## @OHCI1394_LinkControl_CycleTimerEnable
	.comm	_OHCI1394_LinkControl_CycleMaster,4,2 ## @OHCI1394_LinkControl_CycleMaster
	.comm	_PHY_04_LCTRL,4,2               ## @PHY_04_LCTRL
	.comm	_PHY_04_CONTENDER,4,2           ## @PHY_04_CONTENDER
	.comm	_OHCI1394_SelfIDBuffer,4,2      ## @OHCI1394_SelfIDBuffer
	.comm	_OHCI1394_LinkControl_RcvSelfID,4,2 ## @OHCI1394_LinkControl_RcvSelfID
	.comm	_OHCI1394_ConfigROMmap,4,2      ## @OHCI1394_ConfigROMmap
	.comm	_OHCI1394_IsoRecvIntMaskClear,4,2 ## @OHCI1394_IsoRecvIntMaskClear
	.comm	_OHCI1394_IsoRecvIntEventClear,4,2 ## @OHCI1394_IsoRecvIntEventClear
	.comm	_OHCI1394_IsoXmitIntMaskClear,4,2 ## @OHCI1394_IsoXmitIntMaskClear
	.comm	_OHCI1394_IsoXmitIntEventClear,4,2 ## @OHCI1394_IsoXmitIntEventClear
	.comm	_OHCI1394_AsReqFilterHiSet,4,2  ## @OHCI1394_AsReqFilterHiSet
	.comm	_OHCI1394_PhyUpperBound,4,2     ## @OHCI1394_PhyUpperBound
	.comm	_OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED,4,2 ## @OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"physUpperBoundOffset=%08x"

	.comm	_OHCI1394_ATRetries,4,2         ## @OHCI1394_ATRetries
	.comm	_OHCI1394_MAX_AT_REQ_RETRIES,4,2 ## @OHCI1394_MAX_AT_REQ_RETRIES
	.comm	_OHCI1394_MAX_AT_RESP_RETRIES,4,2 ## @OHCI1394_MAX_AT_RESP_RETRIES
	.comm	_OHCI1394_MAX_PHYS_RESP_RETRIES,4,2 ## @OHCI1394_MAX_PHYS_RESP_RETRIES
	.comm	_OHCI1394_HCControlClear,4,2    ## @OHCI1394_HCControlClear
	.comm	_OHCI1394_HCControl_noByteSwap,4,2 ## @OHCI1394_HCControl_noByteSwap
	.comm	_OHCI1394_IntMaskSet,4,2        ## @OHCI1394_IntMaskSet
	.comm	_OHCI1394_unrecoverableError,4,2 ## @OHCI1394_unrecoverableError
	.comm	_OHCI1394_masterIntEnable,4,2   ## @OHCI1394_masterIntEnable
	.comm	_OHCI1394_busReset,4,2          ## @OHCI1394_busReset
	.comm	_OHCI1394_selfIDComplete,4,2    ## @OHCI1394_selfIDComplete
	.comm	_OHCI1394_RSPkt,4,2             ## @OHCI1394_RSPkt
	.comm	_OHCI1394_RQPkt,4,2             ## @OHCI1394_RQPkt
	.comm	_OHCI1394_respTxComplete,4,2    ## @OHCI1394_respTxComplete
	.comm	_OHCI1394_reqTxComplete,4,2     ## @OHCI1394_reqTxComplete
	.comm	_OHCI1394_isochRx,4,2           ## @OHCI1394_isochRx
	.comm	_OHCI1394_isochTx,4,2           ## @OHCI1394_isochTx
	.comm	_OHCI1394_postedWriteErr,4,2    ## @OHCI1394_postedWriteErr
	.comm	_OHCI1394_cycleTooLong,4,2      ## @OHCI1394_cycleTooLong
	.comm	_OHCI1394_cycleInconsistent,4,2 ## @OHCI1394_cycleInconsistent
	.comm	_OHCI1394_HCControl_linkEnable,4,2 ## @OHCI1394_HCControl_linkEnable
	.comm	_OHCI1394_Version,4,2           ## @OHCI1394_Version
	.comm	_KERN_INFO,4,2                  ## @KERN_INFO
L_.str.1:                               ## @.str.1
	.asciz	"OHCI-1394 %d.%d (PCI): IRQ=[%d]  MMIO=[%llx-%llx]  Max Packet=[%d]  IR/IT contexts=[%d/%d]"

	.comm	_OHCI1394_REGISTER_SIZE,8,3     ## @OHCI1394_REGISTER_SIZE
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"Serial EEPROM has suspicious values, attempting to set max_packet_size to 512 bytes"

	.comm	_OHCI1394_GUID_ROM,4,2          ## @OHCI1394_GUID_ROM
	.no_dead_strip	_ohci_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_initialize
_ohci_initialize:                       ; @ohci_initialize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
	add	x0, x0, #48
	bl	_spin_lock_init
Lloh0:
	adrp	x22, _OHCI1394_BusOptions@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OHCI1394_BusOptions@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_reg_read
Lloh2:
	adrp	x21, _hpsb_disable_irm@GOTPAGE
Lloh3:
	ldr	x21, [x21, _hpsb_disable_irm@GOTPAGEOFF]
	ldr	x8, [x21]
	mov	w9, #117506047
	and	w9, w0, w9
	orr	w9, w9, #0x60000000
	orr	w10, w0, #0xe0000000
	cmp	x8, #0
	csel	w8, w10, w9, eq
	mov	w9, #-419364865
	and	w2, w8, w9
	ldr	w1, [x22]
	mov	x0, x19
	bl	_reg_write
Lloh4:
	adrp	x8, _OHCI1394_NodeID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OHCI1394_NodeID@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65472
	bl	_reg_write
Lloh7:
	adrp	x20, _OHCI1394_HCControlSet@GOTPAGE
Lloh8:
	ldr	x20, [x20, _OHCI1394_HCControlSet@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _OHCI1394_HCControl_postedWriteEnable@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OHCI1394_HCControl_postedWriteEnable@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
Lloh12:
	adrp	x8, _OHCI1394_LinkControlClear@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OHCI1394_LinkControlClear@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_reg_write
Lloh15:
	adrp	x23, _OHCI1394_LinkControlSet@GOTPAGE
Lloh16:
	ldr	x23, [x23, _OHCI1394_LinkControlSet@GOTPAGEOFF]
Lloh17:
	adrp	x8, _OHCI1394_LinkControl_CycleTimerEnable@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OHCI1394_LinkControl_CycleTimerEnable@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _OHCI1394_LinkControl_CycleMaster@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OHCI1394_LinkControl_CycleMaster@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_reg_write
	mov	x0, x19
	mov	w1, #4
	bl	_get_phy_reg
Lloh23:
	adrp	x8, _PHY_04_LCTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PHY_04_LCTRL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh26:
	adrp	x9, _PHY_04_CONTENDER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PHY_04_CONTENDER@GOTPAGEOFF]
	ldr	x10, [x21]
Lloh28:
	ldr	w9, [x9]
	bic	w11, w8, w9
	orr	w8, w9, w8
	cmp	x10, #0
	csel	w2, w8, w11, eq
	mov	x0, x19
	mov	w1, #4
	bl	_set_phy_reg
Lloh29:
	adrp	x8, _OHCI1394_SelfIDBuffer@GOTPAGE
Lloh30:
	ldr	x8, [x8, _OHCI1394_SelfIDBuffer@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_reg_write
	ldr	w1, [x23]
Lloh32:
	adrp	x8, _OHCI1394_LinkControl_RcvSelfID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OHCI1394_LinkControl_RcvSelfID@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
Lloh35:
	adrp	x8, _OHCI1394_ConfigROMmap@GOTPAGE
Lloh36:
	ldr	x8, [x8, _OHCI1394_ConfigROMmap@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_reg_write
	ldr	w1, [x22]
	mov	x0, x19
	bl	_reg_read
	ubfx	w8, w0, #12, #4
	mov	w9, #2
	lsl	w8, w9, w8
	str	w8, [x19, #8]
Lloh38:
	adrp	x8, _OHCI1394_IsoRecvIntMaskClear@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OHCI1394_IsoRecvIntMaskClear@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_reg_write
Lloh41:
	adrp	x8, _OHCI1394_IsoRecvIntEventClear@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OHCI1394_IsoRecvIntEventClear@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_reg_write
Lloh44:
	adrp	x8, _OHCI1394_IsoXmitIntMaskClear@GOTPAGE
Lloh45:
	ldr	x8, [x8, _OHCI1394_IsoXmitIntMaskClear@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_reg_write
Lloh47:
	adrp	x8, _OHCI1394_IsoXmitIntEventClear@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OHCI1394_IsoXmitIntEventClear@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_reg_write
	add	x0, x19, #44
	mov	w1, #0
	bl	_initialize_dma_rcv_ctx
	add	x0, x19, #40
	mov	w1, #0
	bl	_initialize_dma_rcv_ctx
	add	x0, x19, #36
	bl	_initialize_dma_trm_ctx
	add	x0, x19, #32
	bl	_initialize_dma_trm_ctx
Lloh50:
	adrp	x8, _OHCI1394_AsReqFilterHiSet@GOTPAGE
Lloh51:
	ldr	x8, [x8, _OHCI1394_AsReqFilterHiSet@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2147483648
	bl	_reg_write
Lloh53:
	adrp	x21, _OHCI1394_PhyUpperBound@GOTPAGE
Lloh54:
	ldr	x21, [x21, _OHCI1394_PhyUpperBound@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh55:
	adrp	x8, _OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED@GOTPAGEOFF]
Lloh57:
	ldrsh	w2, [x8, #2]
	mov	x0, x19
	bl	_reg_write
	ldr	w1, [x21]
	mov	x0, x19
	bl	_reg_read
	mov	x1, x0
Lloh58:
	adrp	x0, l_.str@PAGE
Lloh59:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGMSG
Lloh60:
	adrp	x8, _OHCI1394_ATRetries@GOTPAGE
Lloh61:
	ldr	x8, [x8, _OHCI1394_ATRetries@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
Lloh63:
	adrp	x8, _OHCI1394_MAX_AT_REQ_RETRIES@GOTPAGE
Lloh64:
	ldr	x8, [x8, _OHCI1394_MAX_AT_REQ_RETRIES@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _OHCI1394_MAX_AT_RESP_RETRIES@GOTPAGE
Lloh67:
	ldr	x9, [x9, _OHCI1394_MAX_AT_RESP_RETRIES@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9, lsl #4
Lloh69:
	adrp	x9, _OHCI1394_MAX_PHYS_RESP_RETRIES@GOTPAGE
Lloh70:
	ldr	x9, [x9, _OHCI1394_MAX_PHYS_RESP_RETRIES@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w2, w8, w9, lsl #8
	mov	x0, x19
	bl	_reg_write
Lloh72:
	adrp	x8, _OHCI1394_HCControlClear@GOTPAGE
Lloh73:
	ldr	x8, [x8, _OHCI1394_HCControlClear@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x8, _OHCI1394_HCControl_noByteSwap@GOTPAGE
Lloh76:
	ldr	x8, [x8, _OHCI1394_HCControl_noByteSwap@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
Lloh78:
	adrp	x8, _OHCI1394_IntMaskSet@GOTPAGE
Lloh79:
	ldr	x8, [x8, _OHCI1394_IntMaskSet@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x8, _OHCI1394_unrecoverableError@GOTPAGE
Lloh82:
	ldr	x8, [x8, _OHCI1394_unrecoverableError@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _OHCI1394_masterIntEnable@GOTPAGE
Lloh85:
	ldr	x9, [x9, _OHCI1394_masterIntEnable@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh87:
	adrp	x9, _OHCI1394_busReset@GOTPAGE
Lloh88:
	ldr	x9, [x9, _OHCI1394_busReset@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh90:
	adrp	x9, _OHCI1394_selfIDComplete@GOTPAGE
Lloh91:
	ldr	x9, [x9, _OHCI1394_selfIDComplete@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh93:
	adrp	x9, _OHCI1394_RSPkt@GOTPAGE
Lloh94:
	ldr	x9, [x9, _OHCI1394_RSPkt@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh96:
	adrp	x9, _OHCI1394_RQPkt@GOTPAGE
Lloh97:
	ldr	x9, [x9, _OHCI1394_RQPkt@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh99:
	adrp	x9, _OHCI1394_respTxComplete@GOTPAGE
Lloh100:
	ldr	x9, [x9, _OHCI1394_respTxComplete@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh102:
	adrp	x9, _OHCI1394_reqTxComplete@GOTPAGE
Lloh103:
	ldr	x9, [x9, _OHCI1394_reqTxComplete@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh105:
	adrp	x9, _OHCI1394_isochRx@GOTPAGE
Lloh106:
	ldr	x9, [x9, _OHCI1394_isochRx@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh108:
	adrp	x9, _OHCI1394_isochTx@GOTPAGE
Lloh109:
	ldr	x9, [x9, _OHCI1394_isochTx@GOTPAGEOFF]
Lloh110:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh111:
	adrp	x9, _OHCI1394_postedWriteErr@GOTPAGE
Lloh112:
	ldr	x9, [x9, _OHCI1394_postedWriteErr@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh114:
	adrp	x9, _OHCI1394_cycleTooLong@GOTPAGE
Lloh115:
	ldr	x9, [x9, _OHCI1394_cycleTooLong@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh117:
	adrp	x9, _OHCI1394_cycleInconsistent@GOTPAGE
Lloh118:
	ldr	x9, [x9, _OHCI1394_cycleInconsistent@GOTPAGEOFF]
Lloh119:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_reg_write
	ldr	w1, [x20]
Lloh120:
	adrp	x8, _OHCI1394_HCControl_linkEnable@GOTPAGE
Lloh121:
	ldr	x8, [x8, _OHCI1394_HCControl_linkEnable@GOTPAGEOFF]
Lloh122:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
Lloh123:
	adrp	x8, _OHCI1394_Version@GOTPAGE
Lloh124:
	ldr	x8, [x8, _OHCI1394_Version@GOTPAGEOFF]
Lloh125:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reg_read
Lloh126:
	adrp	x8, _KERN_INFO@GOTPAGE
Lloh127:
	ldr	x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh128:
	ldr	w20, [x8]
	ubfx	w8, w0, #16, #4
	ubfx	w9, w0, #20, #4
	mov	w10, #10
	madd	w23, w9, w10, w8
	ubfx	w8, w0, #4, #4
	and	w9, w0, #0xf
	madd	w24, w9, w10, w8
	ldr	x0, [x19, #24]
	ldr	w25, [x0]
	mov	w1, #0
	bl	_pci_resource_start
	mov	x21, x0
	ldr	x0, [x19, #24]
	mov	w1, #0
	bl	_pci_resource_start
Lloh129:
	adrp	x8, _OHCI1394_REGISTER_SIZE@GOTPAGE
Lloh130:
	ldr	x8, [x8, _OHCI1394_REGISTER_SIZE@GOTPAGEOFF]
Lloh131:
	ldr	x8, [x8]
	add	x8, x0, x8
	sub	x8, x8, #1
	ldp	w11, w9, [x19, #12]
	ldr	w10, [x19, #8]
	stp	x9, x11, [sp, #48]
	stp	x8, x10, [sp, #32]
	stp	x25, x21, [sp, #16]
Lloh132:
	adrp	x1, l_.str.1@PAGE
Lloh133:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	x23, x24, [sp]
	mov	x0, x20
	bl	_PRINT
	mov	x0, x19
	mov	w1, #2
	bl	_get_phy_reg
	ands	w21, w0, #0xf
	b.eq	LBB0_5
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w21, w20
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #7
	mov	x2, x20
	bl	_set_phy_reg
	mov	x0, x19
	mov	w1, #8
	bl	_get_phy_reg
	tbz	w0, #5, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w2, w0, #0xfffffffe
	mov	x0, x19
	mov	w1, #8
	bl	_set_phy_reg
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19, #8]
	mov	w9, #-4097
	add	w8, w8, w9
	cmn	w8, #3586
	b.hi	LBB0_7
; %bb.6:
Lloh134:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh135:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh136:
	ldr	w0, [x8]
Lloh137:
	adrp	x1, l_.str.2@PAGE
Lloh138:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PRINT
	ldr	w20, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_reg_read
	mov	w8, #28677
	and	w8, w0, w8
	mov	w9, #32770
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_reg_write
	mov	w8, #512
	str	w8, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI1394_BusOptions,4,2        ; @OHCI1394_BusOptions
	.comm	_hpsb_disable_irm,8,3           ; @hpsb_disable_irm
	.comm	_OHCI1394_NodeID,4,2            ; @OHCI1394_NodeID
	.comm	_OHCI1394_HCControlSet,4,2      ; @OHCI1394_HCControlSet
	.comm	_OHCI1394_HCControl_postedWriteEnable,4,2 ; @OHCI1394_HCControl_postedWriteEnable
	.comm	_OHCI1394_LinkControlClear,4,2  ; @OHCI1394_LinkControlClear
	.comm	_OHCI1394_LinkControlSet,4,2    ; @OHCI1394_LinkControlSet
	.comm	_OHCI1394_LinkControl_CycleTimerEnable,4,2 ; @OHCI1394_LinkControl_CycleTimerEnable
	.comm	_OHCI1394_LinkControl_CycleMaster,4,2 ; @OHCI1394_LinkControl_CycleMaster
	.comm	_PHY_04_LCTRL,4,2               ; @PHY_04_LCTRL
	.comm	_PHY_04_CONTENDER,4,2           ; @PHY_04_CONTENDER
	.comm	_OHCI1394_SelfIDBuffer,4,2      ; @OHCI1394_SelfIDBuffer
	.comm	_OHCI1394_LinkControl_RcvSelfID,4,2 ; @OHCI1394_LinkControl_RcvSelfID
	.comm	_OHCI1394_ConfigROMmap,4,2      ; @OHCI1394_ConfigROMmap
	.comm	_OHCI1394_IsoRecvIntMaskClear,4,2 ; @OHCI1394_IsoRecvIntMaskClear
	.comm	_OHCI1394_IsoRecvIntEventClear,4,2 ; @OHCI1394_IsoRecvIntEventClear
	.comm	_OHCI1394_IsoXmitIntMaskClear,4,2 ; @OHCI1394_IsoXmitIntMaskClear
	.comm	_OHCI1394_IsoXmitIntEventClear,4,2 ; @OHCI1394_IsoXmitIntEventClear
	.comm	_OHCI1394_AsReqFilterHiSet,4,2  ; @OHCI1394_AsReqFilterHiSet
	.comm	_OHCI1394_PhyUpperBound,4,2     ; @OHCI1394_PhyUpperBound
	.comm	_OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED,4,2 ; @OHCI1394_PHYS_UPPER_BOUND_PROGRAMMED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"physUpperBoundOffset=%08x"

	.comm	_OHCI1394_ATRetries,4,2         ; @OHCI1394_ATRetries
	.comm	_OHCI1394_MAX_AT_REQ_RETRIES,4,2 ; @OHCI1394_MAX_AT_REQ_RETRIES
	.comm	_OHCI1394_MAX_AT_RESP_RETRIES,4,2 ; @OHCI1394_MAX_AT_RESP_RETRIES
	.comm	_OHCI1394_MAX_PHYS_RESP_RETRIES,4,2 ; @OHCI1394_MAX_PHYS_RESP_RETRIES
	.comm	_OHCI1394_HCControlClear,4,2    ; @OHCI1394_HCControlClear
	.comm	_OHCI1394_HCControl_noByteSwap,4,2 ; @OHCI1394_HCControl_noByteSwap
	.comm	_OHCI1394_IntMaskSet,4,2        ; @OHCI1394_IntMaskSet
	.comm	_OHCI1394_unrecoverableError,4,2 ; @OHCI1394_unrecoverableError
	.comm	_OHCI1394_masterIntEnable,4,2   ; @OHCI1394_masterIntEnable
	.comm	_OHCI1394_busReset,4,2          ; @OHCI1394_busReset
	.comm	_OHCI1394_selfIDComplete,4,2    ; @OHCI1394_selfIDComplete
	.comm	_OHCI1394_RSPkt,4,2             ; @OHCI1394_RSPkt
	.comm	_OHCI1394_RQPkt,4,2             ; @OHCI1394_RQPkt
	.comm	_OHCI1394_respTxComplete,4,2    ; @OHCI1394_respTxComplete
	.comm	_OHCI1394_reqTxComplete,4,2     ; @OHCI1394_reqTxComplete
	.comm	_OHCI1394_isochRx,4,2           ; @OHCI1394_isochRx
	.comm	_OHCI1394_isochTx,4,2           ; @OHCI1394_isochTx
	.comm	_OHCI1394_postedWriteErr,4,2    ; @OHCI1394_postedWriteErr
	.comm	_OHCI1394_cycleTooLong,4,2      ; @OHCI1394_cycleTooLong
	.comm	_OHCI1394_cycleInconsistent,4,2 ; @OHCI1394_cycleInconsistent
	.comm	_OHCI1394_HCControl_linkEnable,4,2 ; @OHCI1394_HCControl_linkEnable
	.comm	_OHCI1394_Version,4,2           ; @OHCI1394_Version
	.comm	_KERN_INFO,4,2                  ; @KERN_INFO
l_.str.1:                               ; @.str.1
	.asciz	"OHCI-1394 %d.%d (PCI): IRQ=[%d]  MMIO=[%llx-%llx]  Max Packet=[%d]  IR/IT contexts=[%d/%d]"

	.comm	_OHCI1394_REGISTER_SIZE,8,3     ; @OHCI1394_REGISTER_SIZE
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"Serial EEPROM has suspicious values, attempting to set max_packet_size to 512 bytes"

	.comm	_OHCI1394_GUID_ROM,4,2          ; @OHCI1394_GUID_ROM
	.no_dead_strip	_ohci_initialize
.subsections_via_symbols
