	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dv_init_obj                ## -- Begin function mlx5dv_init_obj
	.p2align	4, 0x90
_mlx5dv_init_obj:                       ## @mlx5dv_init_obj
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MLX5DV_OBJ_QP@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_mlx5dv_get_qp
	testl	%eax, %eax
	jne	LBB0_8
LBB0_2:
	movq	_MLX5DV_OBJ_CQ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	_mlx5dv_get_cq
	testl	%eax, %eax
	jne	LBB0_8
LBB0_4:
	movq	_MLX5DV_OBJ_SRQ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_mlx5dv_get_srq
	testl	%eax, %eax
	jne	LBB0_8
LBB0_6:
	movq	_MLX5DV_OBJ_RWQ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.9:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlx5dv_get_rwq                 ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5DV_OBJ_QP,4,2              ## @MLX5DV_OBJ_QP
	.comm	_MLX5DV_OBJ_CQ,4,2              ## @MLX5DV_OBJ_CQ
	.comm	_MLX5DV_OBJ_SRQ,4,2             ## @MLX5DV_OBJ_SRQ
	.comm	_MLX5DV_OBJ_RWQ,4,2             ## @MLX5DV_OBJ_RWQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5dv_init_obj                ; -- Begin function mlx5dv_init_obj
	.p2align	2
_mlx5dv_init_obj:                       ; @mlx5dv_init_obj
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MLX5DV_OBJ_QP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5DV_OBJ_QP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldp	w1, w0, [x19, #24]
	bl	_mlx5dv_get_qp
	cbnz	w0, LBB0_9
LBB0_2:
Lloh3:
	adrp	x8, _MLX5DV_OBJ_CQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5DV_OBJ_CQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldp	w1, w0, [x19, #16]
	bl	_mlx5dv_get_cq
	cbnz	w0, LBB0_9
LBB0_4:
Lloh6:
	adrp	x8, _MLX5DV_OBJ_SRQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5DV_OBJ_SRQ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldp	w1, w0, [x19, #8]
	bl	_mlx5dv_get_srq
	cbnz	w0, LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _MLX5DV_OBJ_RWQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5DV_OBJ_RWQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldp	w1, w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5dv_get_rwq
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5DV_OBJ_QP,4,2              ; @MLX5DV_OBJ_QP
	.comm	_MLX5DV_OBJ_CQ,4,2              ; @MLX5DV_OBJ_CQ
	.comm	_MLX5DV_OBJ_SRQ,4,2             ; @MLX5DV_OBJ_SRQ
	.comm	_MLX5DV_OBJ_RWQ,4,2             ; @MLX5DV_OBJ_RWQ
.subsections_via_symbols
