	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_portinfo                  ## -- Begin function dump_portinfo
	.p2align	4, 0x90
_dump_portinfo:                         ## @dump_portinfo
	.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	$1112, %rsp                     ## imm = 0x458
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, -1144(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IB_PORT_FIRST_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IB_PORT_LAST_F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_10
## %bb.1:
	leaq	-1136(%rbp), %r12
	leaq	-112(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-1144(%rbp), %rdi               ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_mad_decode_field
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	movq	%r13, %rcx
	callq	_mad_dump_field
	testl	%eax, %eax
	je	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_puts
	incl	%ebx
	movq	_IB_PORT_LAST_F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$9, %edi
	callq	_putchar
	decl	%r15d
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_PORT_MKEY_F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_show_keys@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NOT_DISPLAYED_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movl	%ebx, %edx
	movl	$32, %ecx
	callq	_snprint_field
	jmp	LBB0_9
LBB0_10:
	movq	_IB_PORT_CAPMASK2_F@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IB_PORT_LINK_SPEED_EXT_LAST_F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_17
## %bb.11:
	leaq	-112(%rbp), %r12
	leaq	-1136(%rbp), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$9, %edi
	callq	_putchar
	decl	%ebx
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-1144(%rbp), %rdi               ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_mad_decode_field
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	movq	%r12, %rcx
	callq	_mad_dump_field
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rdi
	callq	_puts
	incl	%r15d
	movq	_IB_PORT_LINK_SPEED_EXT_LAST_F@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_12
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PORT_FIRST_F,4,2            ## @IB_PORT_FIRST_F
	.comm	_IB_PORT_LAST_F,4,2             ## @IB_PORT_LAST_F
	.comm	_IB_PORT_MKEY_F,4,2             ## @IB_PORT_MKEY_F
	.comm	_show_keys,8,3                  ## @show_keys
	.comm	_NOT_DISPLAYED_STR,4,2          ## @NOT_DISPLAYED_STR
	.comm	_IB_PORT_CAPMASK2_F,4,2         ## @IB_PORT_CAPMASK2_F
	.comm	_IB_PORT_LINK_SPEED_EXT_LAST_F,4,2 ## @IB_PORT_LINK_SPEED_EXT_LAST_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_portinfo                  ; -- Begin function dump_portinfo
	.p2align	2
_dump_portinfo:                         ; @dump_portinfo
	.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
	sub	sp, sp, #1104
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IB_PORT_FIRST_F@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_PORT_FIRST_F@GOTPAGEOFF]
	stur	x8, [x29, #-88]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x22, _IB_PORT_LAST_F@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IB_PORT_LAST_F@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.ge	LBB0_11
; %bb.1:
Lloh8:
	adrp	x23, _IB_PORT_MKEY_F@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IB_PORT_MKEY_F@GOTPAGEOFF]
Lloh10:
	adrp	x24, _show_keys@GOTPAGE
Lloh11:
	ldr	x24, [x24, _show_keys@GOTPAGEOFF]
Lloh12:
	adrp	x25, _NOT_DISPLAYED_STR@GOTPAGE
Lloh13:
	ldr	x25, [x25, _NOT_DISPLAYED_STR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x25]
	add	x0, sp, #8
	mov	w1, #1024
	mov	x2, x21
	mov	w3, #32
	bl	_snprint_field
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_puts
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x19
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #9
	bl	_putchar
	subs	w26, w26, #1
	b.ne	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	ldr	x9, [x24]
	cmp	w21, w8
	ccmp	x9, #0, #0, eq
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x2, x29, #152
	mov	x0, x20
	mov	x1, x21
	bl	_mad_decode_field
	add	x1, sp, #8
	sub	x3, x29, #152
	mov	x0, x21
	mov	w2, #1024
	bl	_mad_dump_field
	cbnz	w0, LBB0_3
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.10:
	add	sp, sp, #1104
	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
	ret
LBB0_11:
Lloh17:
	adrp	x8, _IB_PORT_CAPMASK2_F@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_PORT_CAPMASK2_F@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
Lloh20:
	adrp	x22, _IB_PORT_LINK_SPEED_EXT_LAST_F@GOTPAGE
Lloh21:
	ldr	x22, [x22, _IB_PORT_LINK_SPEED_EXT_LAST_F@GOTPAGEOFF]
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	w8, [x22]
	cmp	w21, w8
	b.ge	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x23, x19
LBB0_15:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #9
	bl	_putchar
	subs	w23, w23, #1
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x2, x29, #152
	mov	x0, x20
	mov	x1, x21
	bl	_mad_decode_field
	add	x1, sp, #8
	sub	x3, x29, #152
	mov	x0, x21
	mov	w2, #1024
	bl	_mad_dump_field
	cbz	w0, LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #8
	bl	_puts
	add	w21, w21, #1
	b	LBB0_12
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PORT_FIRST_F,4,2            ; @IB_PORT_FIRST_F
	.comm	_IB_PORT_LAST_F,4,2             ; @IB_PORT_LAST_F
	.comm	_IB_PORT_MKEY_F,4,2             ; @IB_PORT_MKEY_F
	.comm	_show_keys,8,3                  ; @show_keys
	.comm	_NOT_DISPLAYED_STR,4,2          ; @NOT_DISPLAYED_STR
	.comm	_IB_PORT_CAPMASK2_F,4,2         ; @IB_PORT_CAPMASK2_F
	.comm	_IB_PORT_LINK_SPEED_EXT_LAST_F,4,2 ; @IB_PORT_LINK_SPEED_EXT_LAST_F
.subsections_via_symbols
