	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llan_intr
_llan_intr:                             ## @llan_intr
	.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, %r12
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_mtx_lock
	movq	_H_VIO_SIGNAL@GOTPCREL(%rip), %rax
	movq	_IFCOUNTER_IERRORS@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_H_VIO_SIGNAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	32(%r12), %esi
	movl	$1, %edx
	callq	_phyp_hcall
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	leaq	(%rax,%rax,2), %rax
	movl	(%rcx,%rax,8), %eax
	sarl	$7, %eax
	cmpl	8(%r12), %eax
	movq	%rbx, %rax
	jne	LBB0_6
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	(%rax), %edi
	movl	32(%r12), %esi
	xorl	%edx, %edx
	callq	_phyp_hcall
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r13), %esi
	movl	$1, %edx
	callq	_if_inc_counter
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	leaq	(%rax,%rax,2), %rdx
	movl	(%rcx,%rdx,8), %edx
	sarl	$7, %edx
	cmpl	8(%r12), %edx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	leaq	(%rax,%rax,2), %rax
	movq	8(%rcx,%rax,8), %rsi
	movq	16(%rcx,%rax,8), %rbx
	movq	(%rbx), %r15
	addq	$-8, %rsi
	movq	%r15, %rdi
	callq	_m_adj
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	leaq	(%rax,%rax,2), %rax
	movl	4(%rcx,%rax,8), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_llan_add_rxbuf
	movq	40(%r12), %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_IFCOUNTER_IPACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	leaq	(%rax,%rax,2), %rax
	movq	8(%rcx,%rax,8), %rsi
	movq	%r15, %rdi
	callq	_m_adj
	movq	(%r12), %rcx
	movq	24(%r12), %rax
	leaq	(%rcx,%rcx,2), %rdx
	movl	4(%rax,%rdx,8), %eax
	movl	%eax, (%r15)
	movq	40(%r12), %rdx
	movq	%rdx, 16(%r15)
	movl	%eax, 8(%r15)
	incq	%rcx
	movq	%rcx, (%r12)
	movslq	12(%r12), %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rdx
	shrq	$4, %rdx
	cmpq	%rdx, %rcx
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	$0, (%r12)
	xorl	%eax, %eax
	cmpl	$0, 8(%r12)
	sete	%al
	movl	%eax, 8(%r12)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	callq	_mtx_unlock
	movq	40(%r12), %rdi
	movq	%r15, %rsi
	callq	*(%rdi)
	movq	%r14, %rdi
	callq	_mtx_lock
	jmp	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H_VIO_SIGNAL,4,2               ## @H_VIO_SIGNAL
	.comm	_IFCOUNTER_IERRORS,4,2          ## @IFCOUNTER_IERRORS
	.comm	_IFCOUNTER_IPACKETS,4,2         ## @IFCOUNTER_IPACKETS
	.no_dead_strip	_llan_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llan_intr
_llan_intr:                             ; @llan_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_mtx_lock
Lloh0:
	adrp	x23, _H_VIO_SIGNAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _H_VIO_SIGNAL@GOTPAGEOFF]
	mov	w24, #24
Lloh2:
	adrp	x25, _IFCOUNTER_IPACKETS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IFCOUNTER_IPACKETS@GOTPAGEOFF]
	mov	x26, #-6148914691236517206
	movk	x26, #43691
Lloh4:
	adrp	x27, _IFCOUNTER_IERRORS@GOTPAGE
Lloh5:
	ldr	x27, [x27, _IFCOUNTER_IERRORS@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x23]
	ldr	w1, [x20, #32]
	mov	w2, #1
	bl	_phyp_hcall
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	mul	x9, x9, x24
	ldr	w8, [x8, x9]
	ldr	w9, [x20, #8]
	cmp	w9, w8, asr #7
	b.ne	LBB0_9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w0, [x23]
	ldr	w1, [x20, #32]
	mov	w2, #0
	bl	_phyp_hcall
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	w1, [x27]
	mov	w2, #1
	bl	_if_inc_counter
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	mul	x10, x9, x24
	ldr	w10, [x8, x10]
	ldr	w11, [x20, #8]
	cmp	w11, w10, asr #7
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	madd	x8, x9, x24, x8
	ldp	x8, x22, [x8, #8]
	ldr	x21, [x22]
	sub	x1, x8, #8
	mov	x0, x21
	bl	_m_adj
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	madd	x8, x9, x24, x8
	ldr	w8, [x8, #4]
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x22
	bl	_llan_add_rxbuf
	mov	x8, x0
	ldr	x0, [x20, #40]
	cbnz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w1, [x25]
	mov	w2, #1
	bl	_if_inc_counter
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	madd	x8, x9, x24, x8
	ldr	x1, [x8, #8]
	mov	x0, x21
	bl	_m_adj
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	madd	x8, x9, x24, x8
	ldr	w8, [x8, #4]
	str	w8, [x21]
	ldr	x10, [x20, #40]
	str	x10, [x21, #16]
	str	w8, [x21, #8]
	add	x8, x9, #1
	str	x8, [x20]
	ldrsw	x9, [x20, #12]
	umulh	x9, x9, x26
	cmp	x8, x9, lsr #4
	b.lo	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	str	xzr, [x20]
	ldr	w8, [x20, #8]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x20, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x19
	bl	_mtx_unlock
	ldr	x0, [x20, #40]
	ldr	x8, [x0]
	mov	x1, x21
	blr	x8
	mov	x0, x19
	bl	_mtx_lock
	b	LBB0_4
LBB0_9:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mtx_unlock
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_H_VIO_SIGNAL,4,2               ; @H_VIO_SIGNAL
	.comm	_IFCOUNTER_IERRORS,4,2          ; @IFCOUNTER_IERRORS
	.comm	_IFCOUNTER_IPACKETS,4,2         ; @IFCOUNTER_IPACKETS
	.no_dead_strip	_llan_intr
.subsections_via_symbols
