	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_devlink_param_load_driverinit_values
_mlx4_devlink_param_load_driverinit_values: ## @mlx4_devlink_param_load_driverinit_values
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_devlink_priv
	movq	(%rax), %r14
	movq	_DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_devlink_param_driverinit_value_get
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_mlx4_internal_err_reset@GOTPCREL(%rip), %rax
	movq	-32(%rbp), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rcx, (%rax)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_devlink_param_value_changed
LBB0_3:
	movq	_DEVLINK_PARAM_GENERIC_ID_MAX_MACS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_devlink_param_driverinit_value_get
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-32(%rbp), %edi
	callq	_order_base_2
	movq	_log_num_mac@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	movq	_MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_devlink_param_driverinit_value_get
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	-32(%rbp), %rax
	movq	_enable_64b_cqe_eqe@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	movq	_MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_devlink_param_driverinit_value_get
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	-32(%rbp), %rax
	movq	_enable_4k_uar@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_9:
	movq	_DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_devlink_param_driverinit_value_get
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	-32(%rbp), %rax
	cmpq	%rax, (%r14)
	je	LBB0_12
## %bb.11:
	movq	%rax, (%r14)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_devlink_param_value_changed
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET,4,2 ## @DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET
	.comm	_mlx4_internal_err_reset,8,3    ## @mlx4_internal_err_reset
	.comm	_DEVLINK_PARAM_GENERIC_ID_MAX_MACS,4,2 ## @DEVLINK_PARAM_GENERIC_ID_MAX_MACS
	.comm	_log_num_mac,4,2                ## @log_num_mac
	.comm	_MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE,4,2 ## @MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE
	.comm	_enable_64b_cqe_eqe,8,3         ## @enable_64b_cqe_eqe
	.comm	_MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR,4,2 ## @MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR
	.comm	_enable_4k_uar,8,3              ## @enable_4k_uar
	.comm	_DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT,4,2 ## @DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT
	.no_dead_strip	_mlx4_devlink_param_load_driverinit_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_devlink_param_load_driverinit_values
_mlx4_devlink_param_load_driverinit_values: ; @mlx4_devlink_param_load_driverinit_values
	.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, x0
	bl	_devlink_priv
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_devlink_param_driverinit_value_get
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _mlx4_internal_err_reset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mlx4_internal_err_reset@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x9, [sp, #8]
	cmp	x10, x9
	b.eq	LBB0_3
; %bb.2:
	str	x9, [x8]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_devlink_param_value_changed
LBB0_3:
Lloh4:
	adrp	x8, _DEVLINK_PARAM_GENERIC_ID_MAX_MACS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DEVLINK_PARAM_GENERIC_ID_MAX_MACS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_devlink_param_driverinit_value_get
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [sp, #8]
	bl	_order_base_2
Lloh7:
	adrp	x8, _log_num_mac@GOTPAGE
Lloh8:
	ldr	x8, [x8, _log_num_mac@GOTPAGEOFF]
Lloh9:
	str	w0, [x8]
LBB0_5:
Lloh10:
	adrp	x8, _MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_devlink_param_driverinit_value_get
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
Lloh13:
	adrp	x9, _enable_64b_cqe_eqe@GOTPAGE
Lloh14:
	ldr	x9, [x9, _enable_64b_cqe_eqe@GOTPAGEOFF]
Lloh15:
	str	x8, [x9]
LBB0_7:
Lloh16:
	adrp	x8, _MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_devlink_param_driverinit_value_get
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	x8, [sp, #8]
Lloh19:
	adrp	x9, _enable_4k_uar@GOTPAGE
Lloh20:
	ldr	x9, [x9, _enable_4k_uar@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
LBB0_9:
Lloh22:
	adrp	x21, _DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT@GOTPAGE
Lloh23:
	ldr	x21, [x21, _DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_devlink_param_driverinit_value_get
	cbnz	w0, LBB0_12
; %bb.10:
	ldr	x9, [x20]
	ldr	x8, [sp, #8]
	cmp	x9, x8
	b.eq	LBB0_12
; %bb.11:
	str	x8, [x20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_devlink_param_value_changed
LBB0_12:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET,4,2 ; @DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET
	.comm	_mlx4_internal_err_reset,8,3    ; @mlx4_internal_err_reset
	.comm	_DEVLINK_PARAM_GENERIC_ID_MAX_MACS,4,2 ; @DEVLINK_PARAM_GENERIC_ID_MAX_MACS
	.comm	_log_num_mac,4,2                ; @log_num_mac
	.comm	_MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE,4,2 ; @MLX4_DEVLINK_PARAM_ID_ENABLE_64B_CQE_EQE
	.comm	_enable_64b_cqe_eqe,8,3         ; @enable_64b_cqe_eqe
	.comm	_MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR,4,2 ; @MLX4_DEVLINK_PARAM_ID_ENABLE_4K_UAR
	.comm	_enable_4k_uar,8,3              ; @enable_4k_uar
	.comm	_DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT,4,2 ; @DEVLINK_PARAM_GENERIC_ID_REGION_SNAPSHOT
	.no_dead_strip	_mlx4_devlink_param_load_driverinit_values
.subsections_via_symbols
