	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_ste_build_src_gvmi_qpn_bit_mask
_dr_ste_build_src_gvmi_qpn_bit_mask:    ## @dr_ste_build_src_gvmi_qpn_bit_mask
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_2
LBB0_3:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_2
LBB0_5:
	movq	_src_gvmi_qp@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_source_gvmi@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_source_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK
	movl	(%r15), %edi
	movq	_source_qp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_source_sqn@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_MASK
	movl	$0, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_src_gvmi_qp,4,2                ## @src_gvmi_qp
	.comm	_source_gvmi,4,2                ## @source_gvmi
	.comm	_source_port,4,2                ## @source_port
	.comm	_source_qp,4,2                  ## @source_qp
	.comm	_source_sqn,4,2                 ## @source_sqn
	.no_dead_strip	_dr_ste_build_src_gvmi_qpn_bit_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_ste_build_src_gvmi_qpn_bit_mask
_dr_ste_build_src_gvmi_qpn_bit_mask:    ; @dr_ste_build_src_gvmi_qpn_bit_mask
	.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
	ldr	w9, [x0]
	cmp	w9, #0
	mov	w8, #65535
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w9, [x0, #4]
	cmp	w9, #0
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x20, x1
Lloh0:
	adrp	x21, _src_gvmi_qp@GOTPAGE
Lloh1:
	ldr	x21, [x21, _src_gvmi_qp@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _source_gvmi@GOTPAGE
Lloh3:
	ldr	x8, [x8, _source_gvmi@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _source_port@GOTPAGE
Lloh6:
	ldr	x8, [x8, _source_port@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x3, x19
	bl	_DR_STE_SET_MASK
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _source_qp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _source_qp@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _source_sqn@GOTPAGE
Lloh12:
	ldr	x8, [x8, _source_sqn@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_MASK
	mov	w0, #0
	str	wzr, [x19, #4]
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_src_gvmi_qp,4,2                ; @src_gvmi_qp
	.comm	_source_gvmi,4,2                ; @source_gvmi
	.comm	_source_port,4,2                ; @source_port
	.comm	_source_qp,4,2                  ; @source_qp
	.comm	_source_sqn,4,2                 ; @source_sqn
	.no_dead_strip	_dr_ste_build_src_gvmi_qpn_bit_mask
.subsections_via_symbols
