	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwohci_intr_body
_fwohci_intr_body:                      ## @fwohci_intr_body
	.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
	movq	%rdi, %rbx
	movq	_OHCI_INT_PHY_BUS_R@GOTPCREL(%rip), %r14
	testl	%esi, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_fc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_FWOHCI_STATE_BUSRESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rax, (%rbx)
	movq	_FWOHCI_INTMASKCLR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_OWRITE
	movl	(%r15), %esi
	movq	_OHCI_INT_CYC_LOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_OWRITE
	movq	_OHCI_LNKCTLCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI_CNTL_CYCSRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_OWRITE
	movq	_OHCI_CROMHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_ntohl
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_OWRITE
	movq	_OHCI_BUS_OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rax
	movl	8(%rax), %edi
	callq	_ntohl
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OWRITE                         ## TAILCALL
LBB0_3:
	movq	(%rbx), %rax
	movq	_FWOHCI_STATE_BUSRESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fwohci_sid                     ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI_INT_PHY_BUS_R,4,2         ## @OHCI_INT_PHY_BUS_R
	.comm	_fc,8,3                         ## @fc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUS reset\n"

	.comm	_FWOHCI_STATE_BUSRESET,8,3      ## @FWOHCI_STATE_BUSRESET
	.comm	_FWOHCI_INTMASKCLR,4,2          ## @FWOHCI_INTMASKCLR
	.comm	_OHCI_INT_CYC_LOST,4,2          ## @OHCI_INT_CYC_LOST
	.comm	_OHCI_LNKCTLCLR,4,2             ## @OHCI_LNKCTLCLR
	.comm	_OHCI_CNTL_CYCSRC,4,2           ## @OHCI_CNTL_CYCSRC
	.comm	_OHCI_CROMHDR,4,2               ## @OHCI_CROMHDR
	.comm	_OHCI_BUS_OPT,4,2               ## @OHCI_BUS_OPT
	.comm	_FWOHCI_INTMASK,4,2             ## @FWOHCI_INTMASK
	.comm	_OHCI_INT_CYC_64SECOND,4,2      ## @OHCI_INT_CYC_64SECOND
	.comm	_OHCI_INT_CYC_ERR,4,2           ## @OHCI_INT_CYC_ERR
	.comm	_OHCI_INT_CYC_LONG,4,2          ## @OHCI_INT_CYC_LONG
	.comm	_OHCI_INT_CYC_START,4,2         ## @OHCI_INT_CYC_START
	.comm	_OHCI_INT_DMA_ARRQ,4,2          ## @OHCI_INT_DMA_ARRQ
	.comm	_OHCI_INT_DMA_ARRS,4,2          ## @OHCI_INT_DMA_ARRS
	.comm	_OHCI_INT_DMA_ATRQ,4,2          ## @OHCI_INT_DMA_ATRQ
	.comm	_OHCI_INT_DMA_ATRS,4,2          ## @OHCI_INT_DMA_ATRS
	.comm	_OHCI_INT_DMA_IR,4,2            ## @OHCI_INT_DMA_IR
	.comm	_OHCI_INT_DMA_IT,4,2            ## @OHCI_INT_DMA_IT
	.comm	_OHCI_INT_DMA_PRRQ,4,2          ## @OHCI_INT_DMA_PRRQ
	.comm	_OHCI_INT_DMA_PRRS,4,2          ## @OHCI_INT_DMA_PRRS
	.comm	_OHCI_INT_EN,4,2                ## @OHCI_INT_EN
	.comm	_OHCI_INT_ERR,4,2               ## @OHCI_INT_ERR
	.comm	_OHCI_INT_LR_ERR,4,2            ## @OHCI_INT_LR_ERR
	.comm	_OHCI_INT_PHY_INT,4,2           ## @OHCI_INT_PHY_INT
	.comm	_OHCI_INT_PHY_REG,4,2           ## @OHCI_INT_PHY_REG
	.comm	_OHCI_INT_PHY_SID,4,2           ## @OHCI_INT_PHY_SID
	.comm	_OHCI_INT_PW_ERR,4,2            ## @OHCI_INT_PW_ERR
	.no_dead_strip	_fwohci_intr_body
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwohci_intr_body
_fwohci_intr_body:                      ; @fwohci_intr_body
	.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, x0
Lloh0:
	adrp	x20, _OHCI_INT_PHY_BUS_R@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OHCI_INT_PHY_BUS_R@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _fc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fc@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
	ldr	x9, [x19]
Lloh7:
	adrp	x8, _FWOHCI_STATE_BUSRESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FWOHCI_STATE_BUSRESET@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.2:
	str	x8, [x19]
Lloh10:
	adrp	x21, _FWOHCI_INTMASKCLR@GOTPAGE
Lloh11:
	ldr	x21, [x21, _FWOHCI_INTMASKCLR@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_OWRITE
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _OHCI_INT_CYC_LOST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OHCI_INT_CYC_LOST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_OWRITE
Lloh15:
	adrp	x8, _OHCI_LNKCTLCLR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OHCI_LNKCTLCLR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _OHCI_CNTL_CYCSRC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OHCI_CNTL_CYCSRC@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_OWRITE
Lloh21:
	adrp	x8, _OHCI_CROMHDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OHCI_CROMHDR@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ntohl
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_OWRITE
Lloh24:
	adrp	x8, _OHCI_BUS_OPT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OHCI_BUS_OPT@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
	bl	_ntohl
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	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	_OWRITE
LBB0_3:
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _FWOHCI_STATE_BUSRESET@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FWOHCI_STATE_BUSRESET@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	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	_fwohci_sid
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI_INT_PHY_BUS_R,4,2         ; @OHCI_INT_PHY_BUS_R
	.comm	_fc,8,3                         ; @fc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUS reset\n"

	.comm	_FWOHCI_STATE_BUSRESET,8,3      ; @FWOHCI_STATE_BUSRESET
	.comm	_FWOHCI_INTMASKCLR,4,2          ; @FWOHCI_INTMASKCLR
	.comm	_OHCI_INT_CYC_LOST,4,2          ; @OHCI_INT_CYC_LOST
	.comm	_OHCI_LNKCTLCLR,4,2             ; @OHCI_LNKCTLCLR
	.comm	_OHCI_CNTL_CYCSRC,4,2           ; @OHCI_CNTL_CYCSRC
	.comm	_OHCI_CROMHDR,4,2               ; @OHCI_CROMHDR
	.comm	_OHCI_BUS_OPT,4,2               ; @OHCI_BUS_OPT
	.comm	_FWOHCI_INTMASK,4,2             ; @FWOHCI_INTMASK
	.comm	_OHCI_INT_CYC_64SECOND,4,2      ; @OHCI_INT_CYC_64SECOND
	.comm	_OHCI_INT_CYC_ERR,4,2           ; @OHCI_INT_CYC_ERR
	.comm	_OHCI_INT_CYC_LONG,4,2          ; @OHCI_INT_CYC_LONG
	.comm	_OHCI_INT_CYC_START,4,2         ; @OHCI_INT_CYC_START
	.comm	_OHCI_INT_DMA_ARRQ,4,2          ; @OHCI_INT_DMA_ARRQ
	.comm	_OHCI_INT_DMA_ARRS,4,2          ; @OHCI_INT_DMA_ARRS
	.comm	_OHCI_INT_DMA_ATRQ,4,2          ; @OHCI_INT_DMA_ATRQ
	.comm	_OHCI_INT_DMA_ATRS,4,2          ; @OHCI_INT_DMA_ATRS
	.comm	_OHCI_INT_DMA_IR,4,2            ; @OHCI_INT_DMA_IR
	.comm	_OHCI_INT_DMA_IT,4,2            ; @OHCI_INT_DMA_IT
	.comm	_OHCI_INT_DMA_PRRQ,4,2          ; @OHCI_INT_DMA_PRRQ
	.comm	_OHCI_INT_DMA_PRRS,4,2          ; @OHCI_INT_DMA_PRRS
	.comm	_OHCI_INT_EN,4,2                ; @OHCI_INT_EN
	.comm	_OHCI_INT_ERR,4,2               ; @OHCI_INT_ERR
	.comm	_OHCI_INT_LR_ERR,4,2            ; @OHCI_INT_LR_ERR
	.comm	_OHCI_INT_PHY_INT,4,2           ; @OHCI_INT_PHY_INT
	.comm	_OHCI_INT_PHY_REG,4,2           ; @OHCI_INT_PHY_REG
	.comm	_OHCI_INT_PHY_SID,4,2           ; @OHCI_INT_PHY_SID
	.comm	_OHCI_INT_PW_ERR,4,2            ; @OHCI_INT_PW_ERR
	.no_dead_strip	_fwohci_intr_body
.subsections_via_symbols
