	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-44(%rbp), %rdi
	callq	_ibv_get_device_list
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, -44(%rbp)
	jle	LBB0_5
## %bb.3:
	leaq	L_.str.5(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_ibv_get_device_name
	movq	%rax, %r13
	movq	(%r12,%rbx,8), %rdi
	callq	_ibv_get_device_guid
	movl	%eax, %edi
	callq	_be64toh
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	movslq	-44(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_ibv_free_device_list
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$1, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get IB devices list"

L_.str.1:                               ## @.str.1
	.asciz	"    %-16s\t   node GUID\n"

L_.str.2:                               ## @.str.2
	.asciz	"device"

L_.str.3:                               ## @.str.3
	.asciz	"    %-16s\t----------------\n"

L_.str.4:                               ## @.str.4
	.asciz	"------"

L_.str.5:                               ## @.str.5
	.asciz	"    %-16s\t%016llx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
	add	x0, sp, #12
	bl	_ibv_get_device_list
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_printf
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
Lloh8:
	adrp	x20, l_.str.5@PAGE
Lloh9:
	add	x20, x20, l_.str.5@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x23, x22, #3
	ldr	x0, [x19, x23]
	bl	_ibv_get_device_name
	mov	x21, x0
	ldr	x0, [x19, x23]
	bl	_ibv_get_device_guid
	bl	_be64toh
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x21
	bl	_printf
	add	x22, x22, #1
	ldrsw	x8, [sp, #12]
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_ibv_free_device_list
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	b	LBB0_5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get IB devices list"

l_.str.1:                               ; @.str.1
	.asciz	"    %-16s\t   node GUID\n"

l_.str.2:                               ; @.str.2
	.asciz	"device"

l_.str.3:                               ; @.str.3
	.asciz	"    %-16s\t----------------\n"

l_.str.4:                               ; @.str.4
	.asciz	"------"

l_.str.5:                               ; @.str.5
	.asciz	"    %-16s\t%016llx\n"

.subsections_via_symbols
