	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_devlink_info_get
_mlx5_devlink_info_get:                 ## @mlx5_devlink_info_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_devlink_priv
	movq	%rax, %rbx
	movq	_DEVLINK_FW_STRING_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_devlink_info_driver_name_put
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_devlink_info_version_fixed_put
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mlx5_fw_version_query
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	-64(%rbp), %rdi
	callq	_mlx5_fw_ver_major
	movl	%eax, %r13d
	movq	-64(%rbp), %rdi
	callq	_mlx5_fw_ver_minor
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	callq	_mlx5_fw_ver_subminor
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_snprintf
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_devlink_info_version_running_put
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rdi
	movq	%rdi, -56(%rbp)
LBB0_6:
	callq	_mlx5_fw_ver_major
	movl	%eax, %r13d
	movq	-56(%rbp), %rdi
	callq	_mlx5_fw_ver_minor
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	callq	_mlx5_fw_ver_subminor
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_snprintf
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_devlink_info_version_stored_put
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVLINK_FW_STRING_LEN,4,2      ## @DEVLINK_FW_STRING_LEN
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fw.psid"

L_.str.1:                               ## @.str.1
	.asciz	"%d.%d.%04d"

L_.str.2:                               ## @.str.2
	.asciz	"fw.version"

	.no_dead_strip	_mlx5_devlink_info_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_devlink_info_get
_mlx5_devlink_info_get:                 ; @mlx5_devlink_info_get
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_devlink_priv
	mov	x22, x0
Lloh3:
	adrp	x8, _DEVLINK_FW_STRING_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEVLINK_FW_STRING_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devlink_info_driver_name_put
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w2, [x22]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devlink_info_version_fixed_put
	cbnz	w0, LBB0_7
; %bb.2:
	sub	x1, x29, #64
	sub	x2, x29, #72
	mov	x0, x22
	bl	_mlx5_fw_version_query
	cbnz	w0, LBB0_7
; %bb.3:
	ldur	x0, [x29, #-64]
	bl	_mlx5_fw_ver_major
	mov	x22, x0
	ldur	x0, [x29, #-64]
	bl	_mlx5_fw_ver_minor
	mov	x23, x0
	ldur	x0, [x29, #-64]
	bl	_mlx5_fw_ver_subminor
	mov	x5, x0
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	bl	_snprintf
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_devlink_info_version_running_put
	cbnz	w0, LBB0_7
; %bb.4:
	ldur	x0, [x29, #-72]
	cbnz	x0, LBB0_6
; %bb.5:
	ldur	x0, [x29, #-64]
	stur	x0, [x29, #-72]
LBB0_6:
	bl	_mlx5_fw_ver_major
	mov	x22, x0
	ldur	x0, [x29, #-72]
	bl	_mlx5_fw_ver_minor
	mov	x23, x0
	ldur	x0, [x29, #-72]
	bl	_mlx5_fw_ver_subminor
	mov	x5, x0
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	bl	_snprintf
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_devlink_info_version_stored_put
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVLINK_FW_STRING_LEN,4,2      ; @DEVLINK_FW_STRING_LEN
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fw.psid"

l_.str.1:                               ; @.str.1
	.asciz	"%d.%d.%04d"

l_.str.2:                               ; @.str.2
	.asciz	"fw.version"

	.no_dead_strip	_mlx5_devlink_info_get
.subsections_via_symbols
