	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_port_get_stats
_b53_port_get_stats:                    ## @b53_port_get_stats
	.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	%rdx, %r14
	movl	%esi, %r15d
	callq	_sw_to_b53
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_BIT
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_B53XX_MIB_TXB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_B53XX_MIB_RXB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_is5365
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	cmpl	$5, %r15d
	movl	$8, %eax
	cmovel	%eax, %r15d
	movq	_b53_mibs_65@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_4:
	movq	%rbx, %rdi
	callq	_is63xx
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_B63XX_MIB_TXB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_B63XX_MIB_RXB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_b53_mibs_63xx@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_b53_mibs@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %r13
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	cmpl	$8, (%r13)
	jne	LBB0_9
## %bb.8:
	movl	%r15d, %edi
	callq	_B53_MIB_PAGE
	movslq	%r12d, %rcx
	movl	4(%r13,%rcx,8), %edx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b53_read64
	movl	%r15d, %edi
	callq	_B53_MIB_PAGE
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	4(%r13,%rcx,8), %edx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b53_read64
	movq	-64(%rbp), %r12
	jmp	LBB0_10
LBB0_9:
	movl	%r15d, %edi
	callq	_B53_MIB_PAGE
	movslq	%r12d, %rcx
	movl	4(%r13,%rcx,8), %edx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b53_read32
	movq	-56(%rbp), %r12
	movl	%r15d, %edi
	callq	_B53_MIB_PAGE
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	4(%r13,%rcx,8), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	leaq	-56(%rbp), %rcx
	callq	_b53_read32
LBB0_10:
	movq	-56(%rbp), %rax
	movq	%r12, 8(%r14)
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_B53XX_MIB_TXB_ID,4,2           ## @B53XX_MIB_TXB_ID
	.comm	_B53XX_MIB_RXB_ID,4,2           ## @B53XX_MIB_RXB_ID
	.comm	_b53_mibs_65,8,3                ## @b53_mibs_65
	.comm	_b53_mibs_63xx,8,3              ## @b53_mibs_63xx
	.comm	_B63XX_MIB_TXB_ID,4,2           ## @B63XX_MIB_TXB_ID
	.comm	_B63XX_MIB_RXB_ID,4,2           ## @B63XX_MIB_RXB_ID
	.comm	_b53_mibs,8,3                   ## @b53_mibs
	.no_dead_strip	_b53_port_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b53_port_get_stats
_b53_port_get_stats:                    ; @b53_port_get_stats
	.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, x2
	mov	x21, x1
	bl	_sw_to_b53
	mov	x20, x0
	mov	x0, x21
	bl	_BIT
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _B53XX_MIB_TXB_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B53XX_MIB_TXB_ID@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _B53XX_MIB_RXB_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B53XX_MIB_RXB_ID@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_is5365
	cbz	x0, LBB0_4
; %bb.2:
	mov	w8, #8
	cmp	w21, #5
	csel	w21, w8, w21, eq
Lloh6:
	adrp	x8, _b53_mibs_65@GOTPAGE
Lloh7:
	ldr	x8, [x8, _b53_mibs_65@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_4:
	mov	x0, x20
	bl	_is63xx
	cbz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _B63XX_MIB_TXB_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B63XX_MIB_TXB_ID@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
Lloh14:
	adrp	x8, _B63XX_MIB_RXB_ID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B63XX_MIB_RXB_ID@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
Lloh17:
	adrp	x8, _b53_mibs_63xx@GOTPAGE
Lloh18:
	ldr	x8, [x8, _b53_mibs_63xx@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _b53_mibs@GOTPAGE
Lloh20:
	ldr	x8, [x8, _b53_mibs@GOTPAGEOFF]
LBB0_7:
	ldr	x24, [x8]
	ldr	x8, [x20, #8]
	str	xzr, [x8]
	ldr	w8, [x24]
	mov	x0, x21
	cmp	w8, #8
	b.ne	LBB0_9
; %bb.8:
	bl	_B53_MIB_PAGE
	mov	x1, x0
	add	x8, x24, w23, sxtw #3
	ldr	w2, [x8, #4]
	mov	x3, sp
	mov	x0, x20
	bl	_b53_read64
	mov	x0, x21
	bl	_B53_MIB_PAGE
	mov	x1, x0
	add	x8, x24, w22, sxtw #3
	ldr	w2, [x8, #4]
	add	x3, sp, #8
	mov	x0, x20
	bl	_b53_read64
	ldr	x23, [sp]
	b	LBB0_10
LBB0_9:
	bl	_B53_MIB_PAGE
	mov	x1, x0
	add	x8, x24, w23, sxtw #3
	ldr	w2, [x8, #4]
	add	x3, sp, #8
	mov	x0, x20
	bl	_b53_read32
	ldr	x23, [sp, #8]
	mov	x0, x21
	bl	_B53_MIB_PAGE
	mov	x1, x0
	add	x8, x24, w22, sxtw #3
	ldr	w2, [x8, #4]
	add	x3, sp, #8
	mov	x0, x20
	bl	_b53_read32
LBB0_10:
	ldr	x8, [sp, #8]
	mov	w0, #0
	stp	x8, x23, [x19]
LBB0_11:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_B53XX_MIB_TXB_ID,4,2           ; @B53XX_MIB_TXB_ID
	.comm	_B53XX_MIB_RXB_ID,4,2           ; @B53XX_MIB_RXB_ID
	.comm	_b53_mibs_65,8,3                ; @b53_mibs_65
	.comm	_b53_mibs_63xx,8,3              ; @b53_mibs_63xx
	.comm	_B63XX_MIB_TXB_ID,4,2           ; @B63XX_MIB_TXB_ID
	.comm	_B63XX_MIB_RXB_ID,4,2           ; @B63XX_MIB_RXB_ID
	.comm	_b53_mibs,8,3                   ; @b53_mibs
	.no_dead_strip	_b53_port_get_stats
.subsections_via_symbols
