	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	_IB_SA_PATH_REC_MTU_SELECTOR@GOTPCREL(%rip), %rcx
	movq	_IB_SA_PATH_REC_MTU@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movq	24(%rsi), %rcx
	movq	%rcx, -48(%rbp)
	movq	_IB_SA_GT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -40(%rbp)
	movq	_IPOIB_ENCAP_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_roundup_pow_of_two
                                        ## kill: def $eax killed $eax def $rax
	addl	$-512, %eax                     ## imm = 0xFE00
	roll	$23, %eax
	cmpl	$7, %eax
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_IB_MTU_256@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_IB_MTU_512@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	$0, -48(%rbp)
	movl	$0, -40(%rbp)
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r12d
	jmp	LBB0_10
LBB0_5:
	movq	_IB_MTU_1024@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_IB_MTU_2048@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	movl	%edi, -48(%rbp)
	movl	-44(%rbp), %r12d
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	callq	_ib_mtu_enum_to_int
	movl	%eax, %r8d
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	xorl	%r8d, %r8d
LBB0_11:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_ipoib_dbg
	leaq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_init_completion
	movq	_IB_SA_PATH_REC_DGID@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IB_SA_PATH_REC_SGID@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r14), %edx
	movq	_IB_SA_PATH_REC_NUMB_PATH@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	4(%r14), %esi
	movq	_IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IB_SA_PATH_REC_PKEY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_path_rec_completion@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	leaq	16(%r15), %rax
	movq	_ipoib_sa_client@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rcx
	movl	%ebx, %r8d
	movl	$1000, %r9d                     ## imm = 0x3E8
	pushq	%rax
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_ib_sa_path_rec_get
	addq	$32, %rsp
	movq	%rax, (%r15)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_ipoib_warn
	movq	$0, 16(%r15)
	movq	%r12, %rdi
	callq	_complete
	movl	(%r15), %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_IB_SA_PATH_REC_MTU_SELECTOR,4,2 ## @IB_SA_PATH_REC_MTU_SELECTOR
	.comm	_IB_SA_PATH_REC_MTU,4,2         ## @IB_SA_PATH_REC_MTU
	.comm	_IB_SA_GT,4,2                   ## @IB_SA_GT
	.comm	_IPOIB_ENCAP_LEN,8,3            ## @IPOIB_ENCAP_LEN
	.comm	_IB_MTU_256,4,2                 ## @IB_MTU_256
	.comm	_IB_MTU_512,4,2                 ## @IB_MTU_512
	.comm	_IB_MTU_1024,4,2                ## @IB_MTU_1024
	.comm	_IB_MTU_2048,4,2                ## @IB_MTU_2048
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start path record lookup for %16D MTU > %d\n"

L_.str.1:                               ## @.str.1
	.asciz	":"

	.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.2:                               ## @.str.2
	.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, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _IB_SA_PATH_REC_MTU_SELECTOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_SA_PATH_REC_MTU_SELECTOR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x9]
Lloh3:
	adrp	x9, _IB_SA_PATH_REC_MTU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_SA_PATH_REC_MTU@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x9]
	ldr	x9, [x1, #24]
	str	x9, [sp, #16]
Lloh6:
	adrp	x9, _IB_SA_GT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_SA_GT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #24]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _IPOIB_ENCAP_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPOIB_ENCAP_LEN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_roundup_pow_of_two
	sub	w8, w0, #512
	ror	w8, w8, #9
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.1:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh14:
	adrp	x8, _IB_MTU_256@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_MTU_256@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh16:
	adrp	x8, _IB_MTU_512@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_MTU_512@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	mov	w4, #0
	str	wzr, [sp, #16]
	str	wzr, [sp, #24]
	ldr	w21, [sp, #20]
	b	LBB0_10
LBB0_5:
Lloh18:
	adrp	x8, _IB_MTU_1024@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_MTU_1024@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _IB_MTU_2048@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IB_MTU_2048@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	str	w0, [sp, #16]
	ldr	w21, [sp, #20]
	orr	w22, w23, w22
	cbz	w22, LBB0_9
; %bb.8:
	bl	_ib_mtu_enum_to_int
	mov	x4, x0
	b	LBB0_10
LBB0_9:
	mov	w4, #0
LBB0_10:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
Lloh24:
	adrp	x3, l_.str.1@PAGE
Lloh25:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_ipoib_dbg
	add	x21, x19, #8
	mov	x0, x21
	bl	_init_completion
	ldp	w2, w1, [x20]
Lloh26:
	adrp	x8, _IB_SA_PATH_REC_DGID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IB_SA_PATH_REC_DGID@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w8, w8, w22
Lloh29:
	adrp	x9, _IB_SA_PATH_REC_SGID@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IB_SA_PATH_REC_SGID@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGE
Lloh33:
	ldr	x10, [x10, _IB_SA_PATH_REC_NUMB_PATH@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh34:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IB_SA_PATH_REC_TRAFFIC_CLASS@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _IB_SA_PATH_REC_PKEY@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IB_SA_PATH_REC_PKEY@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _GFP_ATOMIC@GOTPAGE
Lloh42:
	ldr	x10, [x10, _GFP_ATOMIC@GOTPAGEOFF]
	orr	w4, w8, w9
Lloh43:
	ldr	w6, [x10]
Lloh44:
	adrp	x8, _path_rec_completion@GOTPAGE
Lloh45:
	ldr	x8, [x8, _path_rec_completion@GOTPAGEOFF]
Lloh46:
	ldr	w7, [x8]
	add	x8, x19, #16
	stp	x19, x8, [sp]
Lloh47:
	adrp	x0, _ipoib_sa_client@GOTPAGE
Lloh48:
	ldr	x0, [x0, _ipoib_sa_client@GOTPAGEOFF]
	add	x3, sp, #16
	mov	w5, #1000
	bl	_ib_sa_path_rec_get
	str	x0, [x19]
	tbnz	x0, #63, LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	x2, x0
Lloh49:
	adrp	x1, l_.str.2@PAGE
Lloh50:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ipoib_warn
	str	xzr, [x19, #16]
	mov	x0, x21
	bl	_complete
	ldr	w0, [x19]
LBB0_13:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_IB_SA_PATH_REC_MTU_SELECTOR,4,2 ; @IB_SA_PATH_REC_MTU_SELECTOR
	.comm	_IB_SA_PATH_REC_MTU,4,2         ; @IB_SA_PATH_REC_MTU
	.comm	_IB_SA_GT,4,2                   ; @IB_SA_GT
	.comm	_IPOIB_ENCAP_LEN,8,3            ; @IPOIB_ENCAP_LEN
	.comm	_IB_MTU_256,4,2                 ; @IB_MTU_256
	.comm	_IB_MTU_512,4,2                 ; @IB_MTU_512
	.comm	_IB_MTU_1024,4,2                ; @IB_MTU_1024
	.comm	_IB_MTU_2048,4,2                ; @IB_MTU_2048
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start path record lookup for %16D MTU > %d\n"

l_.str.1:                               ; @.str.1
	.asciz	":"

	.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.2:                               ; @.str.2
	.asciz	"ib_sa_path_rec_get failed: %d\n"

	.no_dead_strip	_path_rec_start
.subsections_via_symbols
