	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_mask_pos
_extract_mask_pos:                      ## @extract_mask_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzbl	%dil, %ecx
	movl	%ecx, (%rsi)
	xorl	%eax, %eax
	testb	$1, %cl
	jne	LBB0_7
## %bb.1:
	movl	$1, %eax
	testb	$2, %dil
	jne	LBB0_7
## %bb.2:
	movl	$2, %eax
	testb	$4, %dil
	jne	LBB0_7
## %bb.3:
	movl	$3, %eax
	testb	$8, %dil
	jne	LBB0_7
## %bb.4:
	movl	$4, %eax
	testb	$16, %dil
	jne	LBB0_7
## %bb.5:
	movl	$5, %eax
	testb	$32, %dil
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	testb	$64, %dil
	sete	%al
	orl	$6, %eax
LBB0_7:
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_extract_mask_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_mask_pos
_extract_mask_pos:                      ; @extract_mask_pos
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xff
	str	w8, [x1]
	mov	w8, #1
	mov	w9, #2
	mov	w10, #3
	mov	w11, #4
	mov	w12, #5
	tst	w0, #0x40
	mov	w13, #6
	cinc	w13, w13, eq
	tst	w0, #0x20
	csel	w12, w12, w13, ne
	tst	w0, #0x10
	csel	w11, w11, w12, ne
	tst	w0, #0x8
	csel	w10, w10, w11, ne
	tst	w0, #0x4
	csel	w9, w9, w10, ne
	tst	w0, #0x2
	csel	w8, w8, w9, ne
	tst	w0, #0x1
	csel	w8, wzr, w8, ne
	str	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_extract_mask_pos
.subsections_via_symbols
