	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function geni_i2c_err_misc
_geni_i2c_err_misc:                     ## @geni_i2c_err_misc
	.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, %rbx
	movq	_SE_GENI_M_CMD0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SE_GENI_M_IRQ_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SE_GENI_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_SE_GENI_IOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, %r13
	movq	_SE_GENI_DMA_MODE_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, %r14
	testq	%rax, %rax
	movq	_SE_DMA_RX_IRQ_STAT@GOTPCREL(%rip), %rax
	cmoveq	_SE_GENI_RX_FIFO_STATUS@GOTPCREL(%rip), %rax
	movq	_SE_DMA_TX_IRQ_STAT@GOTPCREL(%rip), %r12
	cmoveq	_SE_GENI_TX_FIFO_STATUS@GOTPCREL(%rip), %r12
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movq	%rax, %r15
	movq	(%r12), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movq	%r15, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SE_GENI_M_CMD0,8,3             ## @SE_GENI_M_CMD0
	.comm	_SE_GENI_M_IRQ_STATUS,8,3       ## @SE_GENI_M_IRQ_STATUS
	.comm	_SE_GENI_STATUS,8,3             ## @SE_GENI_STATUS
	.comm	_SE_GENI_IOS,8,3                ## @SE_GENI_IOS
	.comm	_SE_GENI_DMA_MODE_EN,8,3        ## @SE_GENI_DMA_MODE_EN
	.comm	_SE_DMA_RX_IRQ_STAT,8,3         ## @SE_DMA_RX_IRQ_STAT
	.comm	_SE_DMA_TX_IRQ_STAT,8,3         ## @SE_DMA_TX_IRQ_STAT
	.comm	_SE_GENI_RX_FIFO_STATUS,8,3     ## @SE_GENI_RX_FIFO_STATUS
	.comm	_SE_GENI_TX_FIFO_STATUS,8,3     ## @SE_GENI_TX_FIFO_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA:%d tx_stat:0x%x, rx_stat:0x%x, irq-stat:0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"m_cmd:0x%x, geni_status:0x%x, geni_ios:0x%x\n"

	.no_dead_strip	_geni_i2c_err_misc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function geni_i2c_err_misc
_geni_i2c_err_misc:                     ; @geni_i2c_err_misc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _SE_GENI_M_CMD0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SE_GENI_M_CMD0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _SE_GENI_M_IRQ_STATUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SE_GENI_M_IRQ_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x22, x0
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _SE_GENI_STATUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SE_GENI_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x21, x0
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _SE_GENI_IOS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SE_GENI_IOS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x23, x0
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _SE_GENI_DMA_MODE_EN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SE_GENI_DMA_MODE_EN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x24, x0
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _SE_GENI_RX_FIFO_STATUS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SE_GENI_RX_FIFO_STATUS@GOTPAGEOFF]
Lloh17:
	adrp	x10, _SE_DMA_RX_IRQ_STAT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SE_DMA_RX_IRQ_STAT@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh19:
	adrp	x8, _SE_GENI_TX_FIFO_STATUS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SE_GENI_TX_FIFO_STATUS@GOTPAGEOFF]
Lloh21:
	adrp	x9, _SE_DMA_TX_IRQ_STAT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SE_DMA_TX_IRQ_STAT@GOTPAGEOFF]
	csel	x26, x8, x9, eq
	bl	_readl_relaxed
	mov	x25, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x3, x0
	ldr	w0, [x19]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	str	x22, [sp]
	mov	x2, x24
	mov	x4, x25
	bl	_dev_dbg
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	w0, [x19]
	mov	x2, x20
	mov	x3, x21
	mov	x4, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_dev_dbg
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SE_GENI_M_CMD0,8,3             ; @SE_GENI_M_CMD0
	.comm	_SE_GENI_M_IRQ_STATUS,8,3       ; @SE_GENI_M_IRQ_STATUS
	.comm	_SE_GENI_STATUS,8,3             ; @SE_GENI_STATUS
	.comm	_SE_GENI_IOS,8,3                ; @SE_GENI_IOS
	.comm	_SE_GENI_DMA_MODE_EN,8,3        ; @SE_GENI_DMA_MODE_EN
	.comm	_SE_DMA_RX_IRQ_STAT,8,3         ; @SE_DMA_RX_IRQ_STAT
	.comm	_SE_DMA_TX_IRQ_STAT,8,3         ; @SE_DMA_TX_IRQ_STAT
	.comm	_SE_GENI_RX_FIFO_STATUS,8,3     ; @SE_GENI_RX_FIFO_STATUS
	.comm	_SE_GENI_TX_FIFO_STATUS,8,3     ; @SE_GENI_TX_FIFO_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA:%d tx_stat:0x%x, rx_stat:0x%x, irq-stat:0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"m_cmd:0x%x, geni_status:0x%x, geni_ios:0x%x\n"

	.no_dead_strip	_geni_i2c_err_misc
.subsections_via_symbols
