	.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
	subq	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_IB_SA_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_IB_VENDOR_OPENIB_PING_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	l___const.main.opts(%rip), %rsi
	leaq	-256(%rbp), %r12
	movl	$192, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movaps	L___const.main.usage_args(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_process_opt@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %rax
	leaq	L_.str.11(%rip), %rcx
	movl	%ebx, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r12, %r8
	pushq	$0
	pushq	%rax
	callq	_ibdiag_process_opts
	addq	$16, %rsp
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_server@GOTPCREL(%rip), %r12
	cmpl	%ebx, %r13d
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%r12)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_ibdiag_show_usage
LBB0_3:
	movq	_ibd_ca@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ibd_ca_port@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	movl	$1, %ecx
	callq	_mad_rpc_open_port
	movq	_srcport@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ibd_ca@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_IBEXIT
	movq	_srcport@GOTPCREL(%rip), %rdx
LBB0_5:
	cmpq	$0, (%r12)
	jne	LBB0_6
## %bb.11:
	movl	(%rdx), %edx
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_mad_register_client_via
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.15(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_IBEXIT
LBB0_13:
	movq	_with_grh@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_16
## %bb.14:
	movq	_ibd_dest_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IB_DEST_LID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_IBEXIT
LBB0_16:
	movq	_ibd_ca@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	(%r14,%r13,8), %rcx
	movq	_ibd_dest_type@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_ibd_sm_id@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_srcport@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	_portid@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdx
	pushq	%rax
	callq	_resolve_portid_str
	addq	$16, %rsp
	testq	%rax, %rax
	jns	LBB0_18
## %bb.17:
	movq	(%r14,%r13,8), %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_IBEXIT
LBB0_18:
	cmpq	$0, (%r15)
	je	LBB0_20
## %bb.19:
	movl	$1, (%rbx)
	addq	$4, %rbx
	movq	_dgid@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_20:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_report@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_signal
	xorl	%eax, %eax
	callq	_cl_get_time_stamp
	movq	_start@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_count@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, (%r13)
	testl	%eax, %eax
	jle	LBB0_32
## %bb.21:
	movq	_flood@GOTPCREL(%rip), %rbx
	movq	_portid@GOTPCREL(%rip), %r15
	movq	_minrtt@GOTPCREL(%rip), %r14
	movq	_maxrtt@GOTPCREL(%rip), %r12
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r13), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, (%r13)
	testl	%eax, %eax
	jle	LBB0_32
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	_ntrans@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_ibping
	cmpq	$-1, %rax
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	(%r14), %rax
	jae	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, (%r14)
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	(%r12), %rax
	jbe	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, (%r12)
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_total_rtt@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_replied@GOTPCREL(%rip), %rax
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	callq	_portid2str
	leaq	L_.str.18(%rip), %rdi
	movl	%eax, %esi
	callq	_DEBUG
	movq	_lost@GOTPCREL(%rip), %rax
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	incl	(%rax)
	cmpl	$0, (%rbx)
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	$1, %edi
	callq	_sleep
	jmp	LBB0_31
LBB0_6:
	movq	_oui@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %r8d
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mad_register_server_via
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.13(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_IBEXIT
LBB0_8:
	movq	_host_and_domain@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_get_host_and_domain
	xorl	%eax, %eax
	callq	_ibping_serv
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rbx
	movq	_portid@GOTPCREL(%rip), %rdi
	callq	_portid2str
	leaq	L_.str.14(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_IBEXIT
LBB0_10:
	xorl	%edi, %edi
	callq	_exit
LBB0_32:
	xorl	%edi, %edi
	callq	_report
	movq	_srcport@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mad_rpc_close_port
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SA_CLASS,4,2                ## @IB_SA_CLASS
	.comm	_IB_VENDOR_OPENIB_PING_CLASS,4,2 ## @IB_VENDOR_OPENIB_PING_CLASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"count"

L_.str.1:                               ## @.str.1
	.asciz	"<num>"

L_.str.2:                               ## @.str.2
	.asciz	"stop after count packets"

L_.str.3:                               ## @.str.3
	.asciz	"flood"

L_.str.4:                               ## @.str.4
	.asciz	"flood destination"

L_.str.5:                               ## @.str.5
	.asciz	"oui"

L_.str.6:                               ## @.str.6
	.asciz	"use specified OUI number"

L_.str.7:                               ## @.str.7
	.asciz	"Server"

L_.str.8:                               ## @.str.8
	.asciz	"start in server mode"

L_.str.9:                               ## @.str.9
	.asciz	"dgid"

L_.str.10:                              ## @.str.10
	.asciz	"remote gid (IPv6 format)"

	.section	__DATA,__const
	.p2align	4                               ## @__const.main.opts
l___const.main.opts:
	.quad	L_.str
	.byte	99                              ## 0x63
	.space	3
	.long	1                               ## 0x1
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.byte	102                             ## 0x66
	.space	3
	.long	0                               ## 0x0
	.quad	0
	.quad	L_.str.4
	.quad	L_.str.5
	.byte	111                             ## 0x6f
	.space	3
	.long	1                               ## 0x1
	.quad	0
	.quad	L_.str.6
	.quad	L_.str.7
	.byte	83                              ## 0x53
	.space	3
	.long	0                               ## 0x0
	.quad	0
	.quad	L_.str.8
	.quad	L_.str.9
	.byte	25                              ## 0x19
	.space	3
	.long	1                               ## 0x1
	.quad	0
	.quad	L_.str.10
	.space	32

	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.main.usage_args
L___const.main.usage_args:
	.asciz	"<dest lid|guid>"

L_.str.11:                              ## @.str.11
	.asciz	"DKy"

	.comm	_process_opt,4,2                ## @process_opt
	.comm	_optind,8,3                     ## @optind
	.comm	_server,8,3                     ## @server
	.comm	_ibd_ca,4,2                     ## @ibd_ca
	.comm	_ibd_ca_port,4,2                ## @ibd_ca_port
	.comm	_srcport,4,2                    ## @srcport
L_.str.12:                              ## @.str.12
	.asciz	"Failed to open '%s' port '%d'"

	.comm	_oui,4,2                        ## @oui
L_.str.13:                              ## @.str.13
	.asciz	"can't serve class %d on this port"

	.comm	_host_and_domain,4,2            ## @host_and_domain
L_.str.14:                              ## @.str.14
	.asciz	"ibping to %s: %s"

	.comm	_portid,8,2                     ## @portid
L_.str.15:                              ## @.str.15
	.asciz	"can't register ping class %d on this port"

	.comm	_with_grh,8,3                   ## @with_grh
	.comm	_ibd_dest_type,8,3              ## @ibd_dest_type
	.comm	_IB_DEST_LID,8,3                ## @IB_DEST_LID
L_.str.16:                              ## @.str.16
	.asciz	"When using GRH, LID should be provided"

	.comm	_ibd_sm_id,4,2                  ## @ibd_sm_id
L_.str.17:                              ## @.str.17
	.asciz	"can't resolve destination port %s"

	.comm	_dgid,4,2                       ## @dgid
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_start,4,2                      ## @start
	.comm	_count,4,2                      ## @count
	.comm	_ntrans,4,2                     ## @ntrans
	.comm	_flood,4,2                      ## @flood
L_.str.18:                              ## @.str.18
	.asciz	"ibping to %s failed"

	.comm	_lost,4,2                       ## @lost
	.comm	_minrtt,8,3                     ## @minrtt
	.comm	_maxrtt,8,3                     ## @maxrtt
	.comm	_total_rtt,4,2                  ## @total_rtt
	.comm	_replied,4,2                    ## @replied
.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, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _IB_SA_CLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SA_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]
Lloh3:
	adrp	x8, _IB_VENDOR_OPENIB_PING_CLASS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_VENDOR_OPENIB_PING_CLASS@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, l___const.main.opts@PAGE
Lloh7:
	add	x8, x8, l___const.main.opts@PAGEOFF
	ldp	q0, q1, [x8, #128]
	stp	q0, q1, [sp, #160]
	ldp	q0, q1, [x8, #160]
	stp	q0, q1, [sp, #192]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #96]
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #128]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #32]
	ldp	q0, q1, [x8, #32]
	adrp	x8, l___const.main.usage_args@PAGE
	add	x8, x8, l___const.main.usage_args@PAGEOFF
	stp	q0, q1, [sp, #64]
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh8:
	adrp	x8, _process_opt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _process_opt@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
Lloh11:
	adrp	x3, l_.str.11@PAGE
Lloh12:
	add	x3, x3, l_.str.11@PAGEOFF
	add	x4, sp, #32
	add	x6, sp, #16
	mov	x2, #0
	mov	x7, #0
	bl	_ibdiag_process_opts
Lloh13:
	adrp	x8, _optind@GOTPAGE
Lloh14:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
Lloh16:
	adrp	x25, _server@GOTPAGE
Lloh17:
	ldr	x25, [x25, _server@GOTPAGEOFF]
	cmp	w22, w21
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x25]
	cbnz	x8, LBB0_3
; %bb.2:
	bl	_ibdiag_show_usage
LBB0_3:
Lloh18:
	adrp	x24, _ibd_ca@GOTPAGE
Lloh19:
	ldr	x24, [x24, _ibd_ca@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh20:
	adrp	x23, _ibd_ca_port@GOTPAGE
Lloh21:
	ldr	x23, [x23, _ibd_ca_port@GOTPAGEOFF]
	ldr	w1, [x23]
	sub	x2, x29, #92
	mov	w3, #1
	bl	_mad_rpc_open_port
Lloh22:
	adrp	x26, _srcport@GOTPAGE
Lloh23:
	ldr	x26, [x26, _srcport@GOTPAGEOFF]
	str	w0, [x26]
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x24]
	ldr	w9, [x23]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x0, l_.str.12@PAGE
Lloh25:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_IBEXIT
LBB0_5:
	ldr	x8, [x25]
	cbnz	x8, LBB0_27
; %bb.6:
	ldr	w2, [x26]
	mov	x0, x20
	mov	w1, #0
	bl	_mad_register_client_via
	tbz	x0, #63, LBB0_8
; %bb.7:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh26:
	adrp	x0, l_.str.15@PAGE
Lloh27:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_IBEXIT
LBB0_8:
Lloh28:
	adrp	x21, _with_grh@GOTPAGE
Lloh29:
	ldr	x21, [x21, _with_grh@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh30:
	adrp	x20, _ibd_dest_type@GOTPAGE
Lloh31:
	ldr	x20, [x20, _ibd_dest_type@GOTPAGEOFF]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x20]
Lloh32:
	adrp	x9, _IB_DEST_LID@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IB_DEST_LID@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
Lloh35:
	adrp	x0, l_.str.16@PAGE
Lloh36:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_IBEXIT
LBB0_11:
	ldr	w0, [x24]
	ldr	x3, [x19, x22, lsl #3]
	ldr	w1, [x23]
	ldr	x4, [x20]
Lloh37:
	adrp	x8, _ibd_sm_id@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ibd_sm_id@GOTPAGEOFF]
Lloh39:
	ldr	w5, [x8]
	ldr	w6, [x26]
Lloh40:
	adrp	x20, _portid@GOTPAGE
Lloh41:
	ldr	x20, [x20, _portid@GOTPAGEOFF]
	mov	x2, x20
	bl	_resolve_portid_str
	tbz	x0, #63, LBB0_13
; %bb.12:
	ldr	x8, [x19, x22, lsl #3]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.17@PAGE
Lloh43:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_IBEXIT
LBB0_13:
	ldr	x8, [x21]
	cbz	x8, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x20], #4
Lloh44:
	adrp	x1, _dgid@GOTPAGE
Lloh45:
	ldr	x1, [x1, _dgid@GOTPAGEOFF]
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
LBB0_15:
Lloh46:
	adrp	x8, _SIGINT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x19, _report@GOTPAGE
Lloh50:
	ldr	x19, [x19, _report@GOTPAGEOFF]
	mov	x1, x19
	bl	_signal
Lloh51:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_signal
	bl	_cl_get_time_stamp
Lloh54:
	adrp	x8, _start@GOTPAGE
Lloh55:
	ldr	x8, [x8, _start@GOTPAGEOFF]
Lloh56:
	str	w0, [x8]
Lloh57:
	adrp	x22, _count@GOTPAGE
Lloh58:
	ldr	x22, [x22, _count@GOTPAGEOFF]
	ldr	w8, [x22]
	subs	w8, w8, #1
	str	w8, [x22]
	b.lt	LBB0_32
; %bb.16:
Lloh59:
	adrp	x23, _ntrans@GOTPAGE
Lloh60:
	ldr	x23, [x23, _ntrans@GOTPAGEOFF]
Lloh61:
	adrp	x24, _flood@GOTPAGE
Lloh62:
	ldr	x24, [x24, _flood@GOTPAGEOFF]
Lloh63:
	adrp	x19, _portid@GOTPAGE
Lloh64:
	ldr	x19, [x19, _portid@GOTPAGEOFF]
Lloh65:
	adrp	x20, l_.str.18@PAGE
Lloh66:
	add	x20, x20, l_.str.18@PAGEOFF
Lloh67:
	adrp	x25, _lost@GOTPAGE
Lloh68:
	ldr	x25, [x25, _lost@GOTPAGEOFF]
Lloh69:
	adrp	x26, _minrtt@GOTPAGE
Lloh70:
	ldr	x26, [x26, _minrtt@GOTPAGEOFF]
Lloh71:
	adrp	x27, _maxrtt@GOTPAGE
Lloh72:
	ldr	x27, [x27, _maxrtt@GOTPAGEOFF]
Lloh73:
	adrp	x28, _total_rtt@GOTPAGE
Lloh74:
	ldr	x28, [x28, _total_rtt@GOTPAGEOFF]
Lloh75:
	adrp	x21, _replied@GOTPAGE
Lloh76:
	ldr	x21, [x21, _replied@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x22]
	sub	w9, w8, #1
	str	w9, [x22]
	cmp	w8, #0
	b.le	LBB0_32
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_ibping
	cmn	x0, #1
	b.eq	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x26]
	cmp	x0, x8
	b.hs	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	str	x0, [x26]
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x27]
	cmp	x0, x8
	b.ls	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	str	x0, [x27]
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x28]
	add	w8, w8, w0
	str	w8, [x28]
	mov	x8, x21
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x19
	bl	_portid2str
	mov	x1, x0
	mov	x0, x20
	bl	_DEBUG
	mov	x8, x25
LBB0_25:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x24]
	cbnz	w8, LBB0_17
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, #1
	bl	_sleep
	b	LBB0_17
LBB0_27:
Lloh77:
	adrp	x8, _oui@GOTPAGE
Lloh78:
	ldr	x8, [x8, _oui@GOTPAGEOFF]
Lloh79:
	ldr	w3, [x8]
	ldr	w4, [x26]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_mad_register_server_via
	tbz	x0, #63, LBB0_29
; %bb.28:
	str	x20, [sp]
Lloh80:
	adrp	x0, l_.str.13@PAGE
Lloh81:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_IBEXIT
LBB0_29:
Lloh82:
	adrp	x8, _host_and_domain@GOTPAGE
Lloh83:
	ldr	x8, [x8, _host_and_domain@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_get_host_and_domain
	bl	_ibping_serv
	cbz	x0, LBB0_31
; %bb.30:
	mov	x19, x0
Lloh85:
	adrp	x0, _portid@GOTPAGE
Lloh86:
	ldr	x0, [x0, _portid@GOTPAGEOFF]
	bl	_portid2str
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x19, [sp]
Lloh87:
	adrp	x0, l_.str.14@PAGE
Lloh88:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_IBEXIT
LBB0_31:
	mov	w0, #0
	bl	_exit
LBB0_32:
	mov	w0, #0
	bl	_report
Lloh89:
	adrp	x8, _srcport@GOTPAGE
Lloh90:
	ldr	x8, [x8, _srcport@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	bl	_mad_rpc_close_port
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SA_CLASS,4,2                ; @IB_SA_CLASS
	.comm	_IB_VENDOR_OPENIB_PING_CLASS,4,2 ; @IB_VENDOR_OPENIB_PING_CLASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"count"

l_.str.1:                               ; @.str.1
	.asciz	"<num>"

l_.str.2:                               ; @.str.2
	.asciz	"stop after count packets"

l_.str.3:                               ; @.str.3
	.asciz	"flood"

l_.str.4:                               ; @.str.4
	.asciz	"flood destination"

l_.str.5:                               ; @.str.5
	.asciz	"oui"

l_.str.6:                               ; @.str.6
	.asciz	"use specified OUI number"

l_.str.7:                               ; @.str.7
	.asciz	"Server"

l_.str.8:                               ; @.str.8
	.asciz	"start in server mode"

l_.str.9:                               ; @.str.9
	.asciz	"dgid"

l_.str.10:                              ; @.str.10
	.asciz	"remote gid (IPv6 format)"

	.section	__DATA,__const
	.p2align	3                               ; @__const.main.opts
l___const.main.opts:
	.quad	l_.str
	.byte	99                              ; 0x63
	.space	3
	.long	1                               ; 0x1
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.byte	102                             ; 0x66
	.space	3
	.long	0                               ; 0x0
	.quad	0
	.quad	l_.str.4
	.quad	l_.str.5
	.byte	111                             ; 0x6f
	.space	3
	.long	1                               ; 0x1
	.quad	0
	.quad	l_.str.6
	.quad	l_.str.7
	.byte	83                              ; 0x53
	.space	3
	.long	0                               ; 0x0
	.quad	0
	.quad	l_.str.8
	.quad	l_.str.9
	.byte	25                              ; 0x19
	.space	3
	.long	1                               ; 0x1
	.quad	0
	.quad	l_.str.10
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l___const.main.usage_args:              ; @__const.main.usage_args
	.asciz	"<dest lid|guid>"

l_.str.11:                              ; @.str.11
	.asciz	"DKy"

	.comm	_process_opt,4,2                ; @process_opt
	.comm	_optind,8,3                     ; @optind
	.comm	_server,8,3                     ; @server
	.comm	_ibd_ca,4,2                     ; @ibd_ca
	.comm	_ibd_ca_port,4,2                ; @ibd_ca_port
	.comm	_srcport,4,2                    ; @srcport
l_.str.12:                              ; @.str.12
	.asciz	"Failed to open '%s' port '%d'"

	.comm	_oui,4,2                        ; @oui
l_.str.13:                              ; @.str.13
	.asciz	"can't serve class %d on this port"

	.comm	_host_and_domain,4,2            ; @host_and_domain
l_.str.14:                              ; @.str.14
	.asciz	"ibping to %s: %s"

	.comm	_portid,8,2                     ; @portid
l_.str.15:                              ; @.str.15
	.asciz	"can't register ping class %d on this port"

	.comm	_with_grh,8,3                   ; @with_grh
	.comm	_ibd_dest_type,8,3              ; @ibd_dest_type
	.comm	_IB_DEST_LID,8,3                ; @IB_DEST_LID
l_.str.16:                              ; @.str.16
	.asciz	"When using GRH, LID should be provided"

	.comm	_ibd_sm_id,4,2                  ; @ibd_sm_id
l_.str.17:                              ; @.str.17
	.asciz	"can't resolve destination port %s"

	.comm	_dgid,4,2                       ; @dgid
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_start,4,2                      ; @start
	.comm	_count,4,2                      ; @count
	.comm	_ntrans,4,2                     ; @ntrans
	.comm	_flood,4,2                      ; @flood
l_.str.18:                              ; @.str.18
	.asciz	"ibping to %s failed"

	.comm	_lost,4,2                       ; @lost
	.comm	_minrtt,8,3                     ; @minrtt
	.comm	_maxrtt,8,3                     ; @maxrtt
	.comm	_total_rtt,4,2                  ; @total_rtt
	.comm	_replied,4,2                    ; @replied
.subsections_via_symbols
