	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2ServiceBoard
_i2ServiceBoard:                        ## @i2ServiceBoard
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_NO_MAIL_HERE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	(%rdi), %ebx
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_iiGetMail
	movl	%eax, %ebx
	movl	(%r13), %eax
LBB0_2:
	movl	%eax, (%r14)
	movq	_ITRC_NO_PORT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_ITRC_INTR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$2, %edx
	movl	$1, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ip2trace
	cmpl	(%r13), %ebx
	je	LBB0_10
## %bb.3:
	movq	_MB_FATAL_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, 4(%r14)
	jmp	LBB0_11
LBB0_5:
	movq	_MB_IN_STUFFED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	incl	32(%r14)
	movq	%r14, %rdi
	callq	_i2StripFifo
LBB0_7:
	movq	_MB_OUT_STRIPPED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	incl	28(%r14)
	leaq	12(%r14), %rbx
	movq	%rbx, %rdi
	callq	_write_lock_irqsave
	movl	24(%r14), %eax
	movl	%eax, 8(%r14)
	movq	$0, 16(%r14)
	movq	%rbx, %rdi
	callq	_write_unlock_irqrestore
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	8(%r14), %r8d
	movl	$30, %edx
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_ip2trace
LBB0_9:
	movq	%r14, %rdi
	callq	_serviceOutgoingFifo
LBB0_10:
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_ip2trace
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_MAIL_HERE,4,2               ## @NO_MAIL_HERE
	.comm	_ITRC_NO_PORT,4,2               ## @ITRC_NO_PORT
	.comm	_ITRC_INTR,4,2                  ## @ITRC_INTR
	.comm	_MB_FATAL_ERROR,4,2             ## @MB_FATAL_ERROR
	.comm	_MB_IN_STUFFED,4,2              ## @MB_IN_STUFFED
	.comm	_MB_OUT_STRIPPED,4,2            ## @MB_OUT_STRIPPED
	.no_dead_strip	_i2ServiceBoard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2ServiceBoard
_i2ServiceBoard:                        ; @i2ServiceBoard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _NO_MAIL_HERE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NO_MAIL_HERE@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w20, [x0]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_iiGetMail
	mov	x20, x0
	ldr	w8, [x23]
LBB0_2:
	str	w8, [x19]
Lloh2:
	adrp	x21, _ITRC_NO_PORT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ITRC_NO_PORT@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x22, _ITRC_INTR@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ITRC_INTR@GOTPAGEOFF]
	ldr	w1, [x22]
	str	x20, [sp]
	mov	w2, #2
	mov	w3, #1
	bl	_ip2trace
	ldr	w8, [x23]
	cmp	w20, w8
	b.eq	LBB0_10
; %bb.3:
Lloh6:
	adrp	x8, _MB_FATAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MB_FATAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x8, _MB_IN_STUFFED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MB_IN_STUFFED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	mov	x0, x19
	bl	_i2StripFifo
LBB0_7:
Lloh12:
	adrp	x8, _MB_OUT_STRIPPED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MB_OUT_STRIPPED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	add	x20, x19, #12
	mov	x0, x20
	bl	_write_lock_irqsave
	ldr	w8, [x19, #24]
	str	w8, [x19, #8]
	str	xzr, [x19, #16]
	mov	x0, x20
	bl	_write_unlock_irqrestore
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w8, [x19, #8]
	str	x8, [sp]
	mov	w2, #30
	mov	w3, #1
	bl	_ip2trace
LBB0_9:
	mov	x0, x19
	bl	_serviceOutgoingFifo
LBB0_10:
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #8
	mov	w3, #0
	bl	_ip2trace
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_MAIL_HERE,4,2               ; @NO_MAIL_HERE
	.comm	_ITRC_NO_PORT,4,2               ; @ITRC_NO_PORT
	.comm	_ITRC_INTR,4,2                  ; @ITRC_INTR
	.comm	_MB_FATAL_ERROR,4,2             ; @MB_FATAL_ERROR
	.comm	_MB_IN_STUFFED,4,2              ; @MB_IN_STUFFED
	.comm	_MB_OUT_STRIPPED,4,2            ; @MB_OUT_STRIPPED
	.no_dead_strip	_i2ServiceBoard
.subsections_via_symbols
