	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_all_port_gids
_print_all_port_gids:                   ## @print_all_port_gids
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movl	%edx, %r12d
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r14
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_ibv_query_gid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_null_gid
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rsi
	movl	(%rsi), %edx
	movl	4(%rsi), %ecx
	movl	8(%rsi), %r8d
	movl	12(%rsi), %r9d
	movl	16(%rsi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	20(%rsi), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	24(%rsi), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	28(%rsi), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	32(%rsi), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	36(%rsi), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rsi), %r15d
	movl	44(%rsi), %r10d
	movl	48(%rsi), %r11d
	movq	%r14, %r12
	movl	52(%rsi), %r14d
	movl	56(%rsi), %eax
	movl	60(%rsi), %r13d
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	pushq	%r13
	pushq	%rax
	pushq	%r14
	movq	%r12, %r14
	pushq	%r11
	pushq	%r10
	pushq	%r15
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_printf
	addq	$96, %rsp
	jmp	LBB0_6
LBB0_7:
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r13d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_fprintf
LBB0_8:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to query gid to port %d, index %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t\t\tGID[%3d]:\t\t%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x\n"

	.no_dead_strip	_print_all_port_gids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_all_port_gids
_print_all_port_gids:                   ; @print_all_port_gids
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w20, #0
Lloh0:
	adrp	x23, l_.str.1@PAGE
Lloh1:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w21, w20
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #40
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_ibv_query_gid
	cbnz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #40
	bl	_null_gid
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]
	ldp	w2, w3, [x8]
	ldp	w4, w5, [x8, #8]
	ldp	w6, w7, [x8, #16]
	ldur	q0, [x8, #24]
	ldur	q1, [x8, #40]
	ldp	w9, w8, [x8, #56]
	stp	w9, w8, [sp, #32]
	stp	q0, q1, [sp]
	mov	x0, x23
	mov	x1, x20
	bl	_printf
	b	LBB0_2
LBB0_6:
	mov	w24, #0
	b	LBB0_8
LBB0_7:
	mov	x24, x0
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_fprintf
LBB0_8:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to query gid to port %d, index %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t\t\tGID[%3d]:\t\t%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x\n"

	.no_dead_strip	_print_all_port_gids
.subsections_via_symbols
