	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b53_port_get_mib
_b53_port_get_mib:                      ## @b53_port_get_mib
	.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, %r12
	callq	_sw_to_b53
	movq	%rax, %rbx
	movl	(%r12), %r15d
	movl	%r15d, %edi
	callq	_BIT
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_is5365
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpl	$5, %r15d
	movl	$8, %eax
	cmovel	%eax, %r15d
	movq	_b53_mibs_65@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_4:
	movq	%rbx, %rdi
	callq	_is63xx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_b53_mibs@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_b53_mibs_63xx@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %r13
	movq	8(%rbx), %rcx
	movq	$0, (%rcx)
	movl	(%r13), %eax
	movl	$0, %r14d
	testl	%eax, %eax
	jle	LBB0_14
## %bb.8:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	addq	$24, %r13
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_B53_MIB_PAGE
	movl	-8(%r13), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	leaq	-48(%rbp), %rcx
	callq	_b53_read32
	movl	-48(%rbp), %r8d
	movl	%r8d, -44(%rbp)
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	%r14d, %r14
	leaq	(,%r14,8), %rdi
	addq	8(%rbx), %rdi
	movq	_B53_BUF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%r14, %rsi
	movq	-16(%r13), %rcx
	movq	%r12, %rdx
	callq	_snprintf
	addl	%eax, %r14d
	movl	(%r13), %eax
	addq	$24, %r13
	testl	%eax, %eax
	jle	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	cmpl	$8, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_B53_MIB_PAGE
	movl	-8(%r13), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	leaq	-44(%rbp), %rcx
	callq	_b53_read64
	movl	-44(%rbp), %r8d
	jmp	LBB0_12
LBB0_13:
	movq	8(%rbx), %rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_14:
	movl	%r14d, 4(%r12)
	movq	%rcx, 8(%r12)
	xorl	%eax, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_b53_mibs_65,8,3                ## @b53_mibs_65
	.comm	_b53_mibs_63xx,8,3              ## @b53_mibs_63xx
	.comm	_b53_mibs,8,3                   ## @b53_mibs
	.comm	_B53_BUF_SIZE,8,3               ## @B53_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-20s: %llu\n"

	.no_dead_strip	_b53_port_get_mib
.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_mib
_b53_port_get_mib:                      ; @b53_port_get_mib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x2
	bl	_sw_to_b53
	mov	x20, x0
	ldr	w21, [x19]
	mov	x0, x21
	bl	_BIT
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_is5365
	cbz	x0, LBB0_4
; %bb.2:
	mov	w8, #8
	cmp	w21, #5
	csel	w21, w8, w21, eq
Lloh0:
	adrp	x8, _b53_mibs_65@GOTPAGE
Lloh1:
	ldr	x8, [x8, _b53_mibs_65@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_14
LBB0_4:
	mov	x0, x20
	bl	_is63xx
Lloh2:
	adrp	x8, _b53_mibs_63xx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _b53_mibs_63xx@GOTPAGEOFF]
Lloh4:
	adrp	x9, _b53_mibs@GOTPAGE
Lloh5:
	ldr	x9, [x9, _b53_mibs@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	x10, [x8]
	ldr	x9, [x20, #8]
	str	xzr, [x9]
	ldr	w8, [x10]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	w23, #0
	add	x24, x10, #16
Lloh6:
	adrp	x25, _B53_BUF_SIZE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _B53_BUF_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_B53_MIB_PAGE
	mov	x1, x0
	ldr	w2, [x24]
	add	x3, sp, #8
	mov	x0, x20
	bl	_b53_read32
	ldr	w4, [sp, #8]
	str	w4, [sp, #12]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, w23, sxtw #3
	ldr	x8, [x25]
	sub	x1, x8, w23, sxtw
	ldur	x3, [x24, #-8]
	mov	x2, x22
	bl	_snprintf
	add	w23, w23, w0
	ldr	w8, [x24, #8]
	add	x24, x24, #24
	cmp	w8, #0
	b.le	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	cmp	w8, #8
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_B53_MIB_PAGE
	mov	x1, x0
	ldr	w2, [x24]
	add	x3, sp, #12
	mov	x0, x20
	bl	_b53_read64
	ldr	w4, [sp, #12]
	b	LBB0_8
LBB0_11:
	ldr	x9, [x20, #8]
	b	LBB0_13
LBB0_12:
	mov	w23, #0
LBB0_13:
	mov	w0, #0
	str	w23, [x19, #4]
	str	x9, [x19, #8]
LBB0_14:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_b53_mibs_65,8,3                ; @b53_mibs_65
	.comm	_b53_mibs_63xx,8,3              ; @b53_mibs_63xx
	.comm	_b53_mibs,8,3                   ; @b53_mibs
	.comm	_B53_BUF_SIZE,8,3               ; @B53_BUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-20s: %llu\n"

	.no_dead_strip	_b53_port_get_mib
.subsections_via_symbols
