	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_tbi_adjust_stats         ## -- Begin function e1000_tbi_adjust_stats
	.p2align	4, 0x90
_e1000_tbi_adjust_stats:                ## @e1000_tbi_adjust_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	decl	56(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	incl	52(%rsi)
	movl	(%rsi), %eax
	leal	(%rax,%rdx), %r8d
	decl	%r8d
	movl	%r8d, (%rsi)
	testl	%eax, %eax
	jns	LBB0_3
## %bb.1:
	testl	%r8d, %r8d
	js	LBB0_3
## %bb.2:
	incl	48(%rsi)
LBB0_3:
	leal	-1(%rdx), %r8d
	movq	(%rcx), %rax
	cmpq	$255, %rax
	jne	LBB0_6
## %bb.4:
	cmpq	$255, 8(%rcx)
	jne	LBB0_7
## %bb.5:
	incl	44(%rsi)
	jmp	LBB0_8
LBB0_6:
	testb	$1, %al
	je	LBB0_8
LBB0_7:
	incl	40(%rsi)
LBB0_8:
	cmpl	(%rdi), %r8d
	jne	LBB0_11
## %bb.9:
	movq	8(%rsi), %rax
	testq	%rax, %rax
	jle	LBB0_11
## %bb.10:
	decq	%rax
	movq	%rax, 8(%rsi)
LBB0_11:
	cmpl	$511, %edx                      ## imm = 0x1FF
	jg	LBB0_16
## %bb.12:
	cmpl	$65, %edx
	je	LBB0_20
## %bb.13:
	cmpl	$128, %edx
	je	LBB0_21
## %bb.14:
	cmpl	$256, %edx                      ## imm = 0x100
	jne	LBB0_24
## %bb.15:
	incl	28(%rsi)
	decl	24(%rsi)
	popq	%rbp
	retq
LBB0_16:
	cmpl	$512, %edx                      ## imm = 0x200
	je	LBB0_22
## %bb.17:
	cmpl	$1024, %edx                     ## imm = 0x400
	je	LBB0_23
## %bb.18:
	cmpl	$1523, %edx                     ## imm = 0x5F3
	jne	LBB0_24
## %bb.19:
	incl	16(%rsi)
	popq	%rbp
	retq
LBB0_20:
	incl	36(%rsi)
	decl	32(%rsi)
	popq	%rbp
	retq
LBB0_21:
	incl	32(%rsi)
	decl	28(%rsi)
	popq	%rbp
	retq
LBB0_22:
	incl	24(%rsi)
	decl	20(%rsi)
	popq	%rbp
	retq
LBB0_23:
	incl	20(%rsi)
	decl	16(%rsi)
LBB0_24:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function e1000_tbi_adjust_stats
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
lCPI0_1:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_e1000_tbi_adjust_stats
	.p2align	2
_e1000_tbi_adjust_stats:                ; @e1000_tbi_adjust_stats
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #1
	ldur	d0, [x1, #52]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	stur	d0, [x1, #52]
	ldr	w10, [x1]
	add	w9, w10, w8
	str	w9, [x1]
	tbz	w10, #31, LBB0_3
; %bb.1:
	tbnz	w9, #31, LBB0_3
; %bb.2:
	ldr	w9, [x1, #48]
	add	w9, w9, #1
	str	w9, [x1, #48]
LBB0_3:
	ldr	x9, [x3]
	cmp	x9, #255
	b.ne	LBB0_6
; %bb.4:
	ldr	x9, [x3, #8]
	cmp	x9, #255
	b.ne	LBB0_7
; %bb.5:
	ldr	w9, [x1, #44]
	add	w9, w9, #1
	str	w9, [x1, #44]
	b	LBB0_8
LBB0_6:
	tbz	w9, #0, LBB0_8
LBB0_7:
	ldr	w9, [x1, #40]
	add	w9, w9, #1
	str	w9, [x1, #40]
LBB0_8:
	ldr	w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x1, #8]
	subs	x8, x8, #1
	b.lt	LBB0_11
; %bb.10:
	str	x8, [x1, #8]
LBB0_11:
	cmp	w2, #511
	b.gt	LBB0_16
; %bb.12:
	cmp	w2, #65
	b.eq	LBB0_20
; %bb.13:
	cmp	w2, #128
	b.eq	LBB0_21
; %bb.14:
	cmp	w2, #256
	b.ne	LBB0_24
; %bb.15:
	ldr	d0, [x1, #24]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x1, #24]
	ret
LBB0_16:
	cmp	w2, #512
	b.eq	LBB0_22
; %bb.17:
	cmp	w2, #1024
	b.eq	LBB0_23
; %bb.18:
	cmp	w2, #1523
	b.ne	LBB0_24
; %bb.19:
	ldr	w8, [x1, #16]
	add	w8, w8, #1
	str	w8, [x1, #16]
	ret
LBB0_20:
	ldr	d0, [x1, #32]
Lloh4:
	adrp	x8, lCPI0_1@PAGE
Lloh5:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x1, #32]
	ret
LBB0_21:
	ldur	d0, [x1, #28]
Lloh6:
	adrp	x8, lCPI0_1@PAGE
Lloh7:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	stur	d0, [x1, #28]
	ret
LBB0_22:
	ldur	d0, [x1, #20]
Lloh8:
	adrp	x8, lCPI0_1@PAGE
Lloh9:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	stur	d0, [x1, #20]
	ret
LBB0_23:
	ldr	d0, [x1, #16]
Lloh10:
	adrp	x8, lCPI0_1@PAGE
Lloh11:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x1, #16]
LBB0_24:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
