	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_exec
_cmd_exec:                              ## @cmd_exec
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	24(%rbp), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	$0, -56(%rbp)
	movl	12(%rdi), %edi
	callq	_pci_channel_offline
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	movq	_MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_mbox_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_MLX5_GET
	leaq	-112(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_mlx5_internal_err_ret_value
	movl	%eax, %r12d
	movq	_mbox_out@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-56(%rbp), %rcx
	movq	%r14, %rsi
	movq	%rcx, %rdx
	callq	_MLX5_SET
	movl	(%rbx), %edi
	movq	_syndrome@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-112(%rbp), %rcx
	movq	%r14, %rsi
	callq	_MLX5_SET
LBB0_20:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_is_manage_pages
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	callq	_alloc_msg
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.21:
	movq	%r15, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	leaq	8(%r13), %rdi
	callq	_alloc_token
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%rax, %rbx
	movq	%rax, %rcx
	callq	_mlx5_copy_to_msg
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_mlx5_core_warn
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_9
LBB0_10:
	movq	%r13, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %r12
	movq	%rbx, %rcx
	callq	_mlx5_alloc_cmd_msg
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
LBB0_9:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testl	%r15d, %r15d
	jne	LBB0_20
LBB0_19:
	movq	%r13, %rdi
	callq	_free_msg
	jmp	LBB0_20
LBB0_12:
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_mlx5_cmd_invoke
	addq	$48, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movq	-56(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mlx5_core_dbg
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:
	callq	_status_to_err
	movl	%eax, %r12d
LBB0_15:
	testl	%r15d, %r15d
	jne	LBB0_20
LBB0_18:
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_mlx5_free_cmd_msg
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_16:
	testl	%r15d, %r15d
	jne	LBB0_20
## %bb.17:
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_mlx5_copy_from_msg
	movl	%eax, %r12d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ## @MLX5_DEVICE_STATE_INTERNAL_ERROR
	.comm	_mbox_in,4,2                    ## @mbox_in
	.comm	_mbox_out,4,2                   ## @mbox_out
	.comm	_syndrome,8,3                   ## @syndrome
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"err %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"err %d, status %d\n"

	.comm	_opcode,4,2                     ## @opcode
	.no_dead_strip	_cmd_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_exec
_cmd_exec:                              ; @cmd_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x7
	mov	x24, x6
	mov	x20, x5
	mov	x23, x4
	mov	x21, x3
	mov	x27, x2
	mov	x26, x1
	mov	x19, x0
	str	xzr, [sp, #40]
	ldr	w0, [x0, #12]
	bl	_pci_channel_offline
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _mbox_in@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mbox_in@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x26
	bl	_MLX5_GET
	mov	x1, x0
	add	x2, sp, #32
	add	x3, sp, #40
	mov	x0, x19
	bl	_mlx5_internal_err_ret_value
	mov	x26, x0
Lloh6:
	adrp	x19, _mbox_out@GOTPAGE
Lloh7:
	ldr	x19, [x19, _mbox_out@GOTPAGEOFF]
	ldr	w0, [x19]
	ldr	x2, [sp, #40]
	mov	x1, x21
	mov	x3, x2
	bl	_MLX5_SET
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _syndrome@GOTPAGE
Lloh9:
	ldr	x8, [x8, _syndrome@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	ldr	x3, [sp, #32]
	mov	x1, x21
	bl	_MLX5_SET
LBB0_3:
	mov	x0, x26
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	mov	x0, x26
	bl	_is_manage_pages
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w28, [x8]
	mov	x0, x19
	mov	x1, x27
	mov	x2, x28
	bl	_alloc_msg
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_PTR_ERR
LBB0_6:
	add	x0, x19, #8
	bl	_alloc_token
	mov	x3, x0
	mov	x0, x22
	mov	x1, x26
	mov	x2, x27
	mov	x27, x3
	bl	_mlx5_copy_to_msg
	cbz	w0, LBB0_8
; %bb.7:
	mov	x26, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x26
	bl	_mlx5_core_warn
	cbnz	w20, LBB0_3
	b	LBB0_15
LBB0_8:
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	mov	x26, x27
	mov	x3, x27
	bl	_mlx5_alloc_cmd_msg
	mov	x27, x0
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x27
	bl	_PTR_ERR
	mov	x26, x0
	cbnz	w20, LBB0_3
	b	LBB0_15
LBB0_10:
	str	w25, [sp, #16]
	add	x8, sp, #40
	stp	x8, x26, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x27
	mov	x3, x21
	mov	x4, x23
	mov	x5, x20
	mov	x6, x24
	ldr	w7, [sp, #28]                   ; 4-byte Folded Reload
	bl	_mlx5_cmd_invoke
	mov	x26, x0
	cbnz	w0, LBB0_13
; %bb.11:
	ldr	x3, [sp, #40]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_mlx5_core_dbg
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_16
; %bb.12:
	bl	_status_to_err
	mov	x26, x0
LBB0_13:
	cbnz	w20, LBB0_3
LBB0_14:
	mov	x0, x19
	mov	x1, x27
	bl	_mlx5_free_cmd_msg
LBB0_15:
	mov	x0, x19
	mov	x1, x22
	bl	_free_msg
	b	LBB0_3
LBB0_16:
	cbz	w20, LBB0_18
; %bb.17:
	mov	w26, #0
	b	LBB0_3
LBB0_18:
	mov	x0, x21
	mov	x1, x27
	mov	x2, x23
	bl	_mlx5_copy_from_msg
	mov	x26, x0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ; @MLX5_DEVICE_STATE_INTERNAL_ERROR
	.comm	_mbox_in,4,2                    ; @mbox_in
	.comm	_mbox_out,4,2                   ; @mbox_out
	.comm	_syndrome,8,3                   ; @syndrome
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"err %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"err %d, status %d\n"

	.comm	_opcode,4,2                     ; @opcode
	.no_dead_strip	_cmd_exec
.subsections_via_symbols
