	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_debug_qp_add              ## -- Begin function mlx5_debug_qp_add
	.p2align	4, 0x90
_mlx5_debug_qp_add:                     ## @mlx5_debug_qp_add
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_mlx5_debugfs_root@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MLX5_DBG_RSC_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %r13d
	movl	8(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_qp_fields@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_add_res_tree
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	$0, (%rbx)
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mlx5_debugfs_root,4,2          ## @mlx5_debugfs_root
	.comm	_MLX5_DBG_RSC_QP,4,2            ## @MLX5_DBG_RSC_QP
	.comm	_qp_fields,4,2                  ## @qp_fields
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_debug_qp_add              ; -- Begin function mlx5_debug_qp_add
	.p2align	2
_mlx5_debug_qp_add:                     ; @mlx5_debug_qp_add
	.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
Lloh0:
	adrp	x8, _mlx5_debugfs_root@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mlx5_debugfs_root@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _MLX5_DBG_RSC_QP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_DBG_RSC_QP@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w22, [x0]
	ldr	w23, [x1, #8]
Lloh6:
	adrp	x8, _qp_fields@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qp_fields@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	mov	x0, x24
	bl	_ARRAY_SIZE
	mov	x6, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	mov	x4, x23
	mov	x5, x24
	mov	x7, x19
	bl	_add_res_tree
	cbz	w0, LBB0_4
; %bb.2:
	str	xzr, [x19]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mlx5_debugfs_root,4,2          ; @mlx5_debugfs_root
	.comm	_MLX5_DBG_RSC_QP,4,2            ; @MLX5_DBG_RSC_QP
	.comm	_qp_fields,4,2                  ; @qp_fields
.subsections_via_symbols
