	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_component
_extract_component:                     ## @extract_component
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	cmpl	%esi, %edi
	je	LBB0_11
## %bb.1:
	testl	%edx, %edx
	je	LBB0_11
## %bb.2:
	cmpl	$1, %edx
	jne	LBB0_4
## %bb.3:
	movl	%esi, %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	cmpl	%esi, %eax
	jle	LBB0_6
## %bb.5:
	movl	$8, %ecx
	subl	%edx, %ecx
	imull	%eax, %ecx
	decl	%edx
	imull	%esi, %edx
	addl	%ecx, %edx
	movslq	%edx, %rax
	imulq	$-1840700269, %rax, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$2, %eax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	cmpl	$6, %edx
	je	LBB0_9
## %bb.7:
	cmpl	$7, %edx
	jne	LBB0_10
## %bb.8:
	movl	$255, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_10:
	movl	$6, %ecx
	subl	%edx, %ecx
	imull	%eax, %ecx
	decl	%edx
	imull	%esi, %edx
	addl	%ecx, %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_extract_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_component
_extract_component:                     ; @extract_component
	.cfi_startproc
; %bb.0:
	cmp	w0, w1
	b.eq	LBB0_11
; %bb.1:
	cbz	w2, LBB0_11
; %bb.2:
	subs	w8, w2, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x1
	ret
LBB0_4:
	cmp	w0, w1
	b.le	LBB0_6
; %bb.5:
	mov	w9, #8
	sub	w9, w9, w2
	mul	w8, w8, w1
	madd	w8, w9, w0, w8
	mov	w9, #9363
	movk	w9, #37449, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #2
	add	w0, w9, w8, lsr #31
	ret
LBB0_6:
	cmp	w2, #6
	b.eq	LBB0_9
; %bb.7:
	cmp	w2, #7
	b.ne	LBB0_10
; %bb.8:
	mov	w0, #255
	ret
LBB0_9:
	mov	w0, #0
	ret
LBB0_10:
	mov	w9, #6
	sub	w9, w9, w2
	mul	w8, w8, w1
	madd	w8, w9, w0, w8
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w0, w8, w9
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_extract_component
.subsections_via_symbols
