	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_closing_cmd_fatal_error
_mlx4_closing_cmd_fatal_error:          ## @mlx4_closing_cmd_fatal_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MLX4_CMD_CLOSE_HCA@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.1:
	movq	_MLX4_CMD_HW2SW_EQ@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.2:
	movq	_MLX4_CMD_HW2SW_CQ@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.3:
	movq	_MLX4_CMD_2RST_QP@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.4:
	movq	_MLX4_CMD_HW2SW_SRQ@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.5:
	movq	_MLX4_CMD_SYNC_TPT@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.6:
	movq	_MLX4_CMD_UNMAP_ICM@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.7:
	movq	_MLX4_CMD_UNMAP_ICM_AUX@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.8:
	movq	_MLX4_CMD_UNMAP_FA@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_MLX4_CMD_HW2SW_MPT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	sete	%al
	movq	_CMD_STAT_REG_BOUND@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_CMD_CLOSE_HCA,8,3         ## @MLX4_CMD_CLOSE_HCA
	.comm	_MLX4_CMD_HW2SW_EQ,8,3          ## @MLX4_CMD_HW2SW_EQ
	.comm	_MLX4_CMD_HW2SW_CQ,8,3          ## @MLX4_CMD_HW2SW_CQ
	.comm	_MLX4_CMD_2RST_QP,8,3           ## @MLX4_CMD_2RST_QP
	.comm	_MLX4_CMD_HW2SW_SRQ,8,3         ## @MLX4_CMD_HW2SW_SRQ
	.comm	_MLX4_CMD_SYNC_TPT,8,3          ## @MLX4_CMD_SYNC_TPT
	.comm	_MLX4_CMD_UNMAP_ICM,8,3         ## @MLX4_CMD_UNMAP_ICM
	.comm	_MLX4_CMD_UNMAP_ICM_AUX,8,3     ## @MLX4_CMD_UNMAP_ICM_AUX
	.comm	_MLX4_CMD_UNMAP_FA,8,3          ## @MLX4_CMD_UNMAP_FA
	.comm	_MLX4_CMD_HW2SW_MPT,8,3         ## @MLX4_CMD_HW2SW_MPT
	.comm	_CMD_STAT_REG_BOUND,8,3         ## @CMD_STAT_REG_BOUND
	.no_dead_strip	_mlx4_closing_cmd_fatal_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_closing_cmd_fatal_error
_mlx4_closing_cmd_fatal_error:          ; @mlx4_closing_cmd_fatal_error
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLX4_CMD_CLOSE_HCA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_CMD_CLOSE_HCA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MLX4_CMD_HW2SW_EQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_CMD_HW2SW_EQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MLX4_CMD_HW2SW_CQ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MLX4_CMD_HW2SW_CQ@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _MLX4_CMD_2RST_QP@GOTPAGE
Lloh10:
	ldr	x11, [x11, _MLX4_CMD_2RST_QP@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _MLX4_CMD_HW2SW_SRQ@GOTPAGE
Lloh13:
	ldr	x12, [x12, _MLX4_CMD_HW2SW_SRQ@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
Lloh15:
	adrp	x13, _MLX4_CMD_SYNC_TPT@GOTPAGE
Lloh16:
	ldr	x13, [x13, _MLX4_CMD_SYNC_TPT@GOTPAGEOFF]
Lloh17:
	ldr	x13, [x13]
Lloh18:
	adrp	x14, _MLX4_CMD_UNMAP_ICM@GOTPAGE
Lloh19:
	ldr	x14, [x14, _MLX4_CMD_UNMAP_ICM@GOTPAGEOFF]
Lloh20:
	ldr	x14, [x14]
Lloh21:
	adrp	x15, _MLX4_CMD_UNMAP_ICM_AUX@GOTPAGE
Lloh22:
	ldr	x15, [x15, _MLX4_CMD_UNMAP_ICM_AUX@GOTPAGEOFF]
Lloh23:
	ldr	x15, [x15]
Lloh24:
	adrp	x16, _MLX4_CMD_UNMAP_FA@GOTPAGE
Lloh25:
	ldr	x16, [x16, _MLX4_CMD_UNMAP_FA@GOTPAGEOFF]
Lloh26:
	ldr	x16, [x16]
	cmp	x8, x0
	ccmp	x9, x0, #4, ne
	ccmp	x10, x0, #4, ne
	ccmp	x11, x0, #4, ne
	ccmp	x12, x0, #4, ne
	ccmp	x13, x0, #4, ne
	ccmp	x14, x0, #4, ne
	ccmp	x15, x0, #4, ne
	ccmp	x16, x0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
Lloh27:
	adrp	x8, _MLX4_CMD_HW2SW_MPT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MLX4_CMD_HW2SW_MPT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x8, x0
Lloh30:
	adrp	x8, _CMD_STAT_REG_BOUND@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CMD_STAT_REG_BOUND@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ccmp	x8, x1, #4, eq
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_CMD_CLOSE_HCA,8,3         ; @MLX4_CMD_CLOSE_HCA
	.comm	_MLX4_CMD_HW2SW_EQ,8,3          ; @MLX4_CMD_HW2SW_EQ
	.comm	_MLX4_CMD_HW2SW_CQ,8,3          ; @MLX4_CMD_HW2SW_CQ
	.comm	_MLX4_CMD_2RST_QP,8,3           ; @MLX4_CMD_2RST_QP
	.comm	_MLX4_CMD_HW2SW_SRQ,8,3         ; @MLX4_CMD_HW2SW_SRQ
	.comm	_MLX4_CMD_SYNC_TPT,8,3          ; @MLX4_CMD_SYNC_TPT
	.comm	_MLX4_CMD_UNMAP_ICM,8,3         ; @MLX4_CMD_UNMAP_ICM
	.comm	_MLX4_CMD_UNMAP_ICM_AUX,8,3     ; @MLX4_CMD_UNMAP_ICM_AUX
	.comm	_MLX4_CMD_UNMAP_FA,8,3          ; @MLX4_CMD_UNMAP_FA
	.comm	_MLX4_CMD_HW2SW_MPT,8,3         ; @MLX4_CMD_HW2SW_MPT
	.comm	_CMD_STAT_REG_BOUND,8,3         ; @CMD_STAT_REG_BOUND
	.no_dead_strip	_mlx4_closing_cmd_fatal_error
.subsections_via_symbols
