	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_is_vf_vst_and_prio_qos
_mlx4_is_vf_vst_and_prio_qos:           ## @mlx4_is_vf_vst_and_prio_qos
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_mlx4_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_mlx4_is_master
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	movq	_MLX4_DEV_CAP_FLAG2_QOS_VPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	(%r12), %rax
	movq	_MLX4_VGT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movl	8(%r12), %edi
	movl	(%rax,%rcx,4), %esi
	callq	_test_bit
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_DEV_CAP_FLAG2_QOS_VPP,4,2 ## @MLX4_DEV_CAP_FLAG2_QOS_VPP
	.comm	_MLX4_VGT,8,3                   ## @MLX4_VGT
	.no_dead_strip	_mlx4_is_vf_vst_and_prio_qos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_is_vf_vst_and_prio_qos
_mlx4_is_vf_vst_and_prio_qos:           ; @mlx4_is_vf_vst_and_prio_qos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_mlx4_priv
	mov	x21, x0
	mov	x0, x22
	bl	_mlx4_is_master
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _MLX4_DEV_CAP_FLAG2_QOS_VPP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_DEV_CAP_FLAG2_QOS_VPP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MLX4_VGT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_VGT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x21]
	ldr	w0, [x20, #8]
	ldr	w1, [x8, w19, sxtw #2]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_DEV_CAP_FLAG2_QOS_VPP,4,2 ; @MLX4_DEV_CAP_FLAG2_QOS_VPP
	.comm	_MLX4_VGT,8,3                   ; @MLX4_VGT
	.no_dead_strip	_mlx4_is_vf_vst_and_prio_qos
.subsections_via_symbols
