	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_init_hca
_mlx4_init_hca:                         ## @mlx4_init_hca
	.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	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_mlx4_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_mlx4_is_slave
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.38:
	callq	_mlx4_init_slave
	testl	%eax, %eax
	je	LBB0_40
## %bb.39:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	callq	_mlx4_QUERY_FW
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	%eax, %ebx
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_info
	jmp	LBB0_49
LBB0_40:
	movq	%r15, %rdi
	callq	_mlx4_slave_cap
	testl	%eax, %eax
	je	LBB0_30
## %bb.41:
	movl	%eax, %ebx
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_err
	jmp	LBB0_42
LBB0_6:
	movq	%r15, %rdi
	callq	_mlx4_load_fw
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r15, %rdi
	callq	_mlx4_err
	jmp	LBB0_49
LBB0_8:
	movl	$1, -96(%rbp)
	movq	$0, -88(%rbp)
	leaq	-96(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mlx4_MOD_STAT_CFG
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_warn
LBB0_10:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mlx4_dev_cap
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_err
	jmp	LBB0_47
LBB0_12:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_choose_steering_mode
	movq	%r15, %rdi
	callq	_mlx4_is_master
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_mlx4_parav_master_pf_caps
LBB0_14:
	movq	_default_profile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	8(%r15), %rax
	movq	_MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	movq	_MLX4_FS_NUM_MCG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_16:
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	callq	_mlx4_make_profile
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_47
## %bb.17:
	movl	40(%r15), %edi
	callq	_ilog2
	negb	%al
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	notl	%edx
	movl	%edx, 16(%r15)
	movl	36(%r15), %edi
	callq	_ilog2
	movl	%eax, -72(%rbp)
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$-12, %rax
	movq	%rax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_MLX4_DEV_CAP_FLAG_MEM_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r15)
	jne	LBB0_19
## %bb.18:
	movq	_MLX4_BMME_FLAG_TYPE_2_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r15)
	je	LBB0_20
LBB0_19:
	movq	_INIT_HCA_TPT_MW_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
LBB0_20:
	leaq	-40(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_mlx4_init_icm
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_47
## %bb.21:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mlx4_INIT_HCA
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_err
	jmp	LBB0_45
LBB0_23:
	movq	_MLX4_DEV_CAP_FLAG2_TS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, 28(%r15)
	je	LBB0_30
## %bb.24:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mlx4_QUERY_HCA
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_err
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, 28(%r15)
	movl	32(%r15), %eax
	jmp	LBB0_27
LBB0_26:
	movl	-68(%rbp), %eax
	movl	%eax, 32(%r15)
LBB0_27:
	testl	%eax, %eax
	je	LBB0_28
## %bb.36:
	movq	%r15, %rdi
	callq	_map_internal_clock
	testq	%rax, %rax
	je	LBB0_30
## %bb.37:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str.7(%rip), %rsi
LBB0_29:
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, 28(%r15)
	movq	%r15, %rdi
	callq	_mlx4_err
LBB0_30:
	movq	%r15, %rdi
	callq	_map_bf_area
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_dbg
LBB0_32:
	movq	%r15, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:
	movq	%r15, %rdi
	callq	_mlx4_set_port_mask
LBB0_34:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mlx4_QUERY_ADAPTER
	testl	%eax, %eax
	je	LBB0_50
## %bb.35:
	movl	%eax, %ebx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_mlx4_err
	movq	%r15, %rdi
	callq	_unmap_internal_clock
	movq	%r15, %rdi
	callq	_unmap_bf_area
LBB0_42:
	movq	%r15, %rdi
	callq	_mlx4_is_slave
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	callq	_mlx4_slave_exit
	jmp	LBB0_45
LBB0_44:
	xorl	%esi, %esi
	callq	_mlx4_CLOSE_HCA
LBB0_45:
	movq	%r15, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	jne	LBB0_47
## %bb.46:
	movq	%r15, %rdi
	callq	_mlx4_free_icms
LBB0_47:
	movq	%r15, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	jne	LBB0_49
## %bb.48:
	movq	%r15, %rdi
	callq	_mlx4_UNMAP_FA
	movl	(%r14), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_mlx4_free_icm
	jmp	LBB0_49
LBB0_50:
	movl	-76(%rbp), %eax
	movl	%eax, 4(%r14)
	movl	(%r15), %edi
	movl	-80(%rbp), %esi
	movl	$4, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
LBB0_49:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"non-primary physical function, skipping.\n"

L_.str.1:                               ## @.str.1
	.asciz	"QUERY_FW command failed, aborting.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to start FW, aborting.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to override log_pg_sz parameter\n"

L_.str.4:                               ## @.str.4
	.asciz	"QUERY_DEV_CAP command failed, aborting.\n"

	.comm	_default_profile,4,2            ## @default_profile
	.comm	_MLX4_STEERING_MODE_DEVICE_MANAGED,8,3 ## @MLX4_STEERING_MODE_DEVICE_MANAGED
	.comm	_MLX4_FS_NUM_MCG,4,2            ## @MLX4_FS_NUM_MCG
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_MLX4_DEV_CAP_FLAG_MEM_WINDOW,4,2 ## @MLX4_DEV_CAP_FLAG_MEM_WINDOW
	.comm	_MLX4_BMME_FLAG_TYPE_2_WIN,4,2  ## @MLX4_BMME_FLAG_TYPE_2_WIN
	.comm	_INIT_HCA_TPT_MW_ENABLE,8,3     ## @INIT_HCA_TPT_MW_ENABLE
L_.str.5:                               ## @.str.5
	.asciz	"INIT_HCA command failed, aborting.\n"

	.comm	_MLX4_DEV_CAP_FLAG2_TS,4,2      ## @MLX4_DEV_CAP_FLAG2_TS
L_.str.6:                               ## @.str.6
	.asciz	"QUERY_HCA command failed, disable timestamp.\n"

L_.str.7:                               ## @.str.7
	.asciz	"HCA frequency is 0. Timestamping is not supported."

L_.str.8:                               ## @.str.8
	.asciz	"Failed to map internal clock. Timestamping is not supported.\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to initialize slave\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to obtain slave caps\n"

L_.str.11:                              ## @.str.11
	.asciz	"Failed to map blue flame area\n"

L_.str.12:                              ## @.str.12
	.asciz	"QUERY_ADAPTER command failed, aborting.\n"

	.no_dead_strip	_mlx4_init_hca
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_init_hca
_mlx4_init_hca:                         ; @mlx4_init_hca
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	bl	_mlx4_priv
	mov	x20, x0
	mov	x0, x19
	bl	_mlx4_is_slave
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_mlx4_init_slave
	cbz	w0, LBB0_6
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str.9@PAGE
Lloh1:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_11
LBB0_3:
	mov	x0, x19
	bl	_mlx4_QUERY_FW
	cbz	w0, LBB0_8
; %bb.4:
	mov	x21, x0
Lloh2:
	adrp	x8, _EACCES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_10
; %bb.5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx4_info
	b	LBB0_50
LBB0_6:
	mov	x0, x19
	bl	_mlx4_slave_cap
	cbz	w0, LBB0_36
; %bb.7:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str.10@PAGE
Lloh8:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	b	LBB0_42
LBB0_8:
	mov	x0, x19
	bl	_mlx4_load_fw
	cbz	w0, LBB0_12
; %bb.9:
	mov	x21, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_mlx4_err
	b	LBB0_50
LBB0_12:
	mov	w8, #1
	str	w8, [sp, #32]
	str	xzr, [sp, #40]
	add	x1, sp, #32
	mov	x0, x19
	bl	_mlx4_MOD_STAT_CFG
	cbz	w0, LBB0_14
; %bb.13:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mlx4_warn
LBB0_14:
	add	x1, sp, #48
	mov	x0, x19
	bl	_mlx4_dev_cap
	cbz	w0, LBB0_16
; %bb.15:
	mov	x21, x0
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	b	LBB0_47
LBB0_16:
	add	x1, sp, #48
	mov	x0, x19
	bl	_choose_steering_mode
	mov	x0, x19
	bl	_mlx4_is_master
	cbz	x0, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_mlx4_parav_master_pf_caps
LBB0_18:
Lloh17:
	adrp	x8, _default_profile@GOTPAGE
Lloh18:
	ldr	x8, [x8, _default_profile@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x19, #8]
Lloh20:
	adrp	x9, _MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
Lloh23:
	adrp	x8, _MLX4_FS_NUM_MCG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MLX4_FS_NUM_MCG@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #24]
LBB0_20:
	add	x1, sp, #24
	add	x2, sp, #48
	mov	x3, sp
	mov	x0, x19
	bl	_mlx4_make_profile
	mov	x21, x0
	tbnz	w0, #31, LBB0_47
; %bb.21:
	ldr	w0, [x19, #40]
	bl	_ilog2
	neg	w8, w0
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w8, w8
	str	w8, [x19, #16]
	ldr	w0, [x19, #36]
	bl	_ilog2
	str	w0, [sp]
Lloh26:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	sub	x8, x8, #12
	stp	xzr, x8, [sp, #8]
	ldr	w8, [x19, #20]
Lloh29:
	adrp	x9, _MLX4_DEV_CAP_FLAG_MEM_WINDOW@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG_MEM_WINDOW@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_23
; %bb.22:
	ldr	w8, [x19, #24]
Lloh32:
	adrp	x9, _MLX4_BMME_FLAG_TYPE_2_WIN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MLX4_BMME_FLAG_TYPE_2_WIN@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
LBB0_23:
Lloh35:
	adrp	x8, _INIT_HCA_TPT_MW_ENABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INIT_HCA_TPT_MW_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [sp, #8]
LBB0_24:
	add	x1, sp, #48
	mov	x2, sp
	mov	x0, x19
	mov	x3, x21
	bl	_mlx4_init_icm
	mov	x21, x0
	cbnz	w0, LBB0_47
; %bb.25:
	mov	x1, sp
	mov	x0, x19
	bl	_mlx4_INIT_HCA
	cbz	w0, LBB0_27
; %bb.26:
	mov	x21, x0
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	b	LBB0_45
LBB0_27:
	ldr	w8, [x19, #28]
Lloh40:
	adrp	x21, _MLX4_DEV_CAP_FLAG2_TS@GOTPAGE
Lloh41:
	ldr	x21, [x21, _MLX4_DEV_CAP_FLAG2_TS@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.28:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x1, sp
	mov	x0, x19
	bl	_mlx4_QUERY_HCA
	cbz	w0, LBB0_30
; %bb.29:
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	ldr	w9, [x21]
	ldp	w10, w8, [x19, #28]
	bic	w9, w10, w9
	str	w9, [x19, #28]
	b	LBB0_31
LBB0_30:
	ldr	w8, [sp, #4]
	str	w8, [x19, #32]
LBB0_31:
	cbz	w8, LBB0_34
; %bb.32:
	mov	x0, x19
	bl	_map_internal_clock
	cbz	x0, LBB0_36
; %bb.33:
Lloh44:
	adrp	x1, l_.str.8@PAGE
Lloh45:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_35
LBB0_34:
Lloh46:
	adrp	x1, l_.str.7@PAGE
Lloh47:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_35:
	ldr	w8, [x21]
	ldr	w9, [x19, #28]
	bic	w8, w9, w8
	str	w8, [x19, #28]
	mov	x0, x19
	bl	_mlx4_err
LBB0_36:
	mov	x0, x19
	bl	_map_bf_area
	cbz	x0, LBB0_38
; %bb.37:
Lloh48:
	adrp	x1, l_.str.11@PAGE
Lloh49:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_mlx4_dbg
LBB0_38:
	mov	x0, x19
	bl	_mlx4_is_slave
	cbnz	x0, LBB0_40
; %bb.39:
	mov	x0, x19
	bl	_mlx4_set_port_mask
LBB0_40:
	sub	x1, x29, #40
	mov	x0, x19
	bl	_mlx4_QUERY_ADAPTER
	mov	x21, x0
	cbz	w0, LBB0_49
; %bb.41:
Lloh50:
	adrp	x1, l_.str.12@PAGE
Lloh51:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_mlx4_err
	mov	x0, x19
	bl	_unmap_internal_clock
	mov	x0, x19
	bl	_unmap_bf_area
LBB0_42:
	mov	x0, x19
	bl	_mlx4_is_slave
	cbz	x0, LBB0_44
; %bb.43:
	mov	x0, x19
	bl	_mlx4_slave_exit
	b	LBB0_45
LBB0_44:
	mov	x0, x19
	mov	w1, #0
	bl	_mlx4_CLOSE_HCA
LBB0_45:
	mov	x0, x19
	bl	_mlx4_is_slave
	cbnz	x0, LBB0_47
; %bb.46:
	mov	x0, x19
	bl	_mlx4_free_icms
LBB0_47:
	mov	x0, x19
	bl	_mlx4_is_slave
	cbnz	x0, LBB0_50
; %bb.48:
	mov	x0, x19
	bl	_mlx4_UNMAP_FA
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_mlx4_free_icm
	b	LBB0_50
LBB0_49:
	ldp	w1, w8, [x29, #-40]
	str	w8, [x20, #4]
	ldr	w0, [x19]
	mov	w2, #4
	bl	_memcpy
LBB0_50:
	mov	x0, x21
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"non-primary physical function, skipping.\n"

l_.str.1:                               ; @.str.1
	.asciz	"QUERY_FW command failed, aborting.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to start FW, aborting.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to override log_pg_sz parameter\n"

l_.str.4:                               ; @.str.4
	.asciz	"QUERY_DEV_CAP command failed, aborting.\n"

	.comm	_default_profile,4,2            ; @default_profile
	.comm	_MLX4_STEERING_MODE_DEVICE_MANAGED,8,3 ; @MLX4_STEERING_MODE_DEVICE_MANAGED
	.comm	_MLX4_FS_NUM_MCG,4,2            ; @MLX4_FS_NUM_MCG
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_MLX4_DEV_CAP_FLAG_MEM_WINDOW,4,2 ; @MLX4_DEV_CAP_FLAG_MEM_WINDOW
	.comm	_MLX4_BMME_FLAG_TYPE_2_WIN,4,2  ; @MLX4_BMME_FLAG_TYPE_2_WIN
	.comm	_INIT_HCA_TPT_MW_ENABLE,8,3     ; @INIT_HCA_TPT_MW_ENABLE
l_.str.5:                               ; @.str.5
	.asciz	"INIT_HCA command failed, aborting.\n"

	.comm	_MLX4_DEV_CAP_FLAG2_TS,4,2      ; @MLX4_DEV_CAP_FLAG2_TS
l_.str.6:                               ; @.str.6
	.asciz	"QUERY_HCA command failed, disable timestamp.\n"

l_.str.7:                               ; @.str.7
	.asciz	"HCA frequency is 0. Timestamping is not supported."

l_.str.8:                               ; @.str.8
	.asciz	"Failed to map internal clock. Timestamping is not supported.\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to initialize slave\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to obtain slave caps\n"

l_.str.11:                              ; @.str.11
	.asciz	"Failed to map blue flame area\n"

l_.str.12:                              ; @.str.12
	.asciz	"QUERY_ADAPTER command failed, aborting.\n"

	.no_dead_strip	_mlx4_init_hca
.subsections_via_symbols
