	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function path_rec_start
_path_rec_start:                        ## @path_rec_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_ipoib_priv
	movq	%rax, %r14
	leaq	16(%rbx), %r12
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_ipoib_dbg
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_init_completion
	movq	_IB_SA_PATH_REC_DGID@GOTPCREL(%rip), %rax
	movq	_IB_SA_PATH_REC_SGID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movl	(%r14), %edx
	movq	_IB_SA_PATH_REC_NUMB_PATH@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	4(%r14), %esi
	movq	_IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_IB_SA_PATH_REC_PKEY@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_path_rec_completion@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	leaq	8(%rbx), %rax
	movq	_ipoib_sa_client@GOTPCREL(%rip), %rdi
	movq	%r12, %rcx
	movl	$1000, %r9d                     ## imm = 0x3E8
	pushq	%rax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_ib_sa_path_rec_get
	addq	$32, %rsp
	movl	%eax, (%rbx)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ipoib_warn
	movq	$0, 8(%rbx)
	movq	%r15, %rdi
	callq	_complete
	movl	(%rbx), %ecx
LBB0_2:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start path record lookup for %pI6\n"

	.comm	_ipoib_sa_client,4,2            ## @ipoib_sa_client
	.comm	_IB_SA_PATH_REC_DGID,4,2        ## @IB_SA_PATH_REC_DGID
	.comm	_IB_SA_PATH_REC_SGID,4,2        ## @IB_SA_PATH_REC_SGID
	.comm	_IB_SA_PATH_REC_NUMB_PATH,4,2   ## @IB_SA_PATH_REC_NUMB_PATH
	.comm	_IB_SA_PATH_REC_TRAFFIC_CLASS,4,2 ## @IB_SA_PATH_REC_TRAFFIC_CLASS
	.comm	_IB_SA_PATH_REC_PKEY,4,2        ## @IB_SA_PATH_REC_PKEY
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_path_rec_completion,4,2        ## @path_rec_completion
L_.str.1:                               ## @.str.1
	.asciz	"ib_sa_path_rec_get failed: %d\n"

	.no_dead_strip	_path_rec_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function path_rec_start
_path_rec_start:                        ; @path_rec_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_ipoib_priv
	mov	x20, x0
	mov	x22, x19
	ldr	w2, [x22, #16]!
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ipoib_dbg
	add	x21, x19, #4
	mov	x0, x21
	bl	_init_completion
	ldp	w2, w1, [x20]
Lloh2:
	adrp	x8, _IB_SA_PATH_REC_DGID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_SA_PATH_REC_DGID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IB_SA_PATH_REC_SGID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_SA_PATH_REC_SGID@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _IB_SA_PATH_REC_PKEY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IB_SA_PATH_REC_PKEY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _GFP_ATOMIC@GOTPAGE
Lloh18:
	ldr	x10, [x10, _GFP_ATOMIC@GOTPAGEOFF]
	orr	w4, w8, w9
Lloh19:
	ldr	w6, [x10]
Lloh20:
	adrp	x8, _path_rec_completion@GOTPAGE
Lloh21:
	ldr	x8, [x8, _path_rec_completion@GOTPAGEOFF]
Lloh22:
	ldr	w7, [x8]
	add	x8, x19, #8
	stp	x19, x8, [sp]
Lloh23:
	adrp	x0, _ipoib_sa_client@GOTPAGE
Lloh24:
	ldr	x0, [x0, _ipoib_sa_client@GOTPAGEOFF]
	mov	x3, x22
	mov	w5, #1000
	bl	_ib_sa_path_rec_get
	str	w0, [x19]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ipoib_warn
	str	xzr, [x19, #8]
	mov	x0, x21
	bl	_complete
	ldr	w0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start path record lookup for %pI6\n"

	.comm	_ipoib_sa_client,4,2            ; @ipoib_sa_client
	.comm	_IB_SA_PATH_REC_DGID,4,2        ; @IB_SA_PATH_REC_DGID
	.comm	_IB_SA_PATH_REC_SGID,4,2        ; @IB_SA_PATH_REC_SGID
	.comm	_IB_SA_PATH_REC_NUMB_PATH,4,2   ; @IB_SA_PATH_REC_NUMB_PATH
	.comm	_IB_SA_PATH_REC_TRAFFIC_CLASS,4,2 ; @IB_SA_PATH_REC_TRAFFIC_CLASS
	.comm	_IB_SA_PATH_REC_PKEY,4,2        ; @IB_SA_PATH_REC_PKEY
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_path_rec_completion,4,2        ; @path_rec_completion
l_.str.1:                               ; @.str.1
	.asciz	"ib_sa_path_rec_get failed: %d\n"

	.no_dead_strip	_path_rec_start
.subsections_via_symbols
