	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_iproc_i2c_isr
_bcm_iproc_i2c_isr:                     ## @bcm_iproc_i2c_isr
	.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	%rsi, %r14
	movq	_IS_OFFSET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_iproc_i2c_rd_reg
	movl	%eax, %ebx
	movq	_ISR_MASK_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%ebx, %esi
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_bcm_iproc_i2c_slave_isr
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movq	_ISR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bcm_iproc_i2c_process_m_event
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_iproc_i2c_wr_reg
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_OFFSET,4,2                  ## @IS_OFFSET
	.comm	_ISR_MASK_SLAVE,4,2             ## @ISR_MASK_SLAVE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ISR_MASK,4,2                   ## @ISR_MASK
	.no_dead_strip	_bcm_iproc_i2c_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_iproc_i2c_isr
_bcm_iproc_i2c_isr:                     ; @bcm_iproc_i2c_isr
	.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, x1
Lloh0:
	adrp	x21, _IS_OFFSET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IS_OFFSET@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_iproc_i2c_rd_reg
Lloh2:
	adrp	x8, _ISR_MASK_SLAVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISR_MASK_SLAVE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ands	w1, w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_bcm_iproc_i2c_slave_isr
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _ISR_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ands	w20, w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_bcm_iproc_i2c_process_m_event
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_iproc_i2c_wr_reg
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_OFFSET,4,2                  ; @IS_OFFSET
	.comm	_ISR_MASK_SLAVE,4,2             ; @ISR_MASK_SLAVE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ISR_MASK,4,2                   ; @ISR_MASK
	.no_dead_strip	_bcm_iproc_i2c_isr
.subsections_via_symbols
