	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_init_qm_get_idx_from_flags
_qed_init_qm_get_idx_from_flags:        ## @qed_init_qm_get_idx_from_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, -16(%rbp)
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$3, %esi
	leaq	-16(%rbp), %rdi
	callq	_bitmap_weight
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rdx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_qed_get_pq_flags
	movq	-16(%rbp), %rdx
	testq	%rax, %rdx
	je	LBB0_3
## %bb.5:
	addq	$-128, %rdx
	cmpq	$7, %rdx
	ja	LBB0_15
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	addq	$4, %rbx
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	callq	_DP_ERR
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	addq	$32, %rbx
	jmp	LBB0_15
LBB0_10:
	addq	$20, %rbx
	jmp	LBB0_15
LBB0_12:
	addq	$12, %rbx
	jmp	LBB0_15
LBB0_8:
	addq	$28, %rbx
	jmp	LBB0_15
LBB0_13:
	addq	$8, %rbx
	jmp	LBB0_15
LBB0_9:
	addq	$24, %rbx
	jmp	LBB0_15
LBB0_11:
	addq	$16, %rbx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requested multiple pq flags 0x%lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"pq flag 0x%lx is not set\n"

	.no_dead_strip	_qed_init_qm_get_idx_from_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_init_qm_get_idx_from_flags
_qed_init_qm_get_idx_from_flags:        ; @qed_init_qm_get_idx_from_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _BITS_PER_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w1, w8, #3
	add	x0, sp, #8
	bl	_bitmap_weight
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_qed_get_pq_flags
	ldr	x2, [sp, #8]
	tst	x2, x0
	b.eq	LBB0_6
; %bb.3:
	sub	x8, x2, #128
	cmp	x8, #7
	b.hi	LBB0_8
; %bb.4:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	add	x19, x19, #4
	b	LBB0_8
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_DP_ERR
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	add	x19, x19, #32
	b	LBB0_8
LBB0_10:
	add	x19, x19, #20
	b	LBB0_8
LBB0_11:
	add	x19, x19, #12
	b	LBB0_8
LBB0_12:
	add	x19, x19, #28
	b	LBB0_8
LBB0_13:
	add	x19, x19, #8
	b	LBB0_8
LBB0_14:
	add	x19, x19, #24
	b	LBB0_8
LBB0_15:
	add	x19, x19, #16
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
                                        ; -- End function
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requested multiple pq flags 0x%lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"pq flag 0x%lx is not set\n"

	.no_dead_strip	_qed_init_qm_get_idx_from_flags
.subsections_via_symbols
