	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_ste_conv_bit_to_byte_mask
_dr_ste_conv_bit_to_byte_mask:          ## @dr_ste_conv_bit_to_byte_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DR_STE_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_3
## %bb.1:
	leaq	-1(%r9), %rax
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.2:
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	andl	$-4, %r9d
	xorl	%esi, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	cmpl	$255, (%rdi,%rsi,4)
	sete	%cl
	addl	%ecx, %ecx
	xorl	%edx, %edx
	cmpl	$255, 4(%rdi,%rsi,4)
	leal	(%rcx,%rax,4), %eax
	sete	%dl
	orl	%eax, %edx
	xorl	%eax, %eax
	cmpl	$255, 8(%rdi,%rsi,4)
	sete	%al
	addl	%eax, %eax
	leal	(%rax,%rdx,4), %ecx
	xorl	%eax, %eax
	cmpl	$255, 12(%rdi,%rsi,4)
	sete	%al
	orl	%ecx, %eax
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_5
LBB0_6:
	testq	%r8, %r8
	je	LBB0_9
## %bb.7:
	leaq	(%rdi,%rsi,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	cmpl	$255, (%rdx,%rsi,4)
	sete	%cl
	leal	(%rcx,%rax,2), %eax
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_8
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_STE_SIZE_MASK,4,2           ## @DR_STE_SIZE_MASK
	.no_dead_strip	_dr_ste_conv_bit_to_byte_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_conv_bit_to_byte_mask
_dr_ste_conv_bit_to_byte_mask:          ; @dr_ste_conv_bit_to_byte_mask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DR_STE_SIZE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_STE_SIZE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w10, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0], #4
	cmp	w8, #255
	cset	w8, eq
	bfi	w8, w10, #1, #31
	mov	x10, x8
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_STE_SIZE_MASK,4,2           ; @DR_STE_SIZE_MASK
	.no_dead_strip	_dr_ste_conv_bit_to_byte_mask
.subsections_via_symbols
