	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_get_pq_flags
_qed_get_pq_flags:                      ## @qed_get_pq_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_PQ_FLAGS_LB@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rdi), %edi
	callq	_IS_QED_SRIOV
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PQ_FLAGS_VFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	(%r14), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.3:
	orl	%r15d, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_PQ_FLAGS_ACK@GOTPCREL(%rip), %rax
	movq	_PQ_FLAGS_OOO@GOTPCREL(%rip), %rcx
	movq	_PQ_FLAGS_OFLD@GOTPCREL(%rip), %rdx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_DP_ERR
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_6:
	movq	_PQ_FLAGS_OFLD@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_PQ_FLAGS_MCOS@GOTPCREL(%rip), %rax
	movq	_PQ_FLAGS_OFLD@GOTPCREL(%rip), %rcx
	movq	_PQ_FLAGS_LLT@GOTPCREL(%rip), %rdx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movq	%r14, %rdi
	callq	_IS_QED_MULTI_TC_ROCE
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	_PQ_FLAGS_MTC@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_PQ_FLAGS_MCOS@GOTPCREL(%rip), %rax
	movq	_PQ_FLAGS_ACK@GOTPCREL(%rip), %rcx
	movq	_PQ_FLAGS_OOO@GOTPCREL(%rip), %rdx
	movq	_PQ_FLAGS_OFLD@GOTPCREL(%rip), %rsi
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
	jmp	LBB0_12
LBB0_10:
	movq	_PQ_FLAGS_MCOS@GOTPCREL(%rip), %rax
LBB0_11:
	orl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_PQ_FLAGS_LB,4,2                ## @PQ_FLAGS_LB
	.comm	_PQ_FLAGS_VFS,4,2               ## @PQ_FLAGS_VFS
	.comm	_PQ_FLAGS_MCOS,4,2              ## @PQ_FLAGS_MCOS
	.comm	_PQ_FLAGS_OFLD,4,2              ## @PQ_FLAGS_OFLD
	.comm	_PQ_FLAGS_ACK,4,2               ## @PQ_FLAGS_ACK
	.comm	_PQ_FLAGS_OOO,4,2               ## @PQ_FLAGS_OOO
	.comm	_PQ_FLAGS_LLT,4,2               ## @PQ_FLAGS_LLT
	.comm	_PQ_FLAGS_MTC,4,2               ## @PQ_FLAGS_MTC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown personality %d\n"

	.no_dead_strip	_qed_get_pq_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_get_pq_flags
_qed_get_pq_flags:                      ; @qed_get_pq_flags
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _PQ_FLAGS_LB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PQ_FLAGS_LB@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w0, [x0, #4]
	bl	_IS_QED_SRIOV
Lloh3:
	adrp	x8, _PQ_FLAGS_VFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PQ_FLAGS_VFS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	ldr	w2, [x19]
	sub	w9, w2, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
	orr	w8, w8, w20
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh8:
	adrp	x9, _PQ_FLAGS_ACK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PQ_FLAGS_ACK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _PQ_FLAGS_OOO@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PQ_FLAGS_OOO@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x11, _PQ_FLAGS_OFLD@GOTPAGE
Lloh15:
	ldr	x11, [x11, _PQ_FLAGS_OFLD@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w20, w8, w11
	b	LBB0_10
LBB0_3:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
	mov	w20, #0
	b	LBB0_10
LBB0_4:
Lloh19:
	adrp	x9, _PQ_FLAGS_OFLD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PQ_FLAGS_OFLD@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh21:
	adrp	x9, _PQ_FLAGS_MCOS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PQ_FLAGS_MCOS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _PQ_FLAGS_OFLD@GOTPAGE
Lloh25:
	ldr	x10, [x10, _PQ_FLAGS_OFLD@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _PQ_FLAGS_LLT@GOTPAGE
Lloh28:
	ldr	x11, [x11, _PQ_FLAGS_LLT@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w20, w8, w11
	mov	x0, x19
	bl	_IS_QED_MULTI_TC_ROCE
	cbz	w0, LBB0_10
; %bb.6:
Lloh30:
	adrp	x8, _PQ_FLAGS_MTC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PQ_FLAGS_MTC@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_10
LBB0_7:
Lloh33:
	adrp	x9, _PQ_FLAGS_MCOS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PQ_FLAGS_MCOS@GOTPAGEOFF]
Lloh35:
	adrp	x10, _PQ_FLAGS_ACK@GOTPAGE
Lloh36:
	ldr	x10, [x10, _PQ_FLAGS_ACK@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _PQ_FLAGS_OOO@GOTPAGE
Lloh40:
	ldr	x11, [x11, _PQ_FLAGS_OOO@GOTPAGEOFF]
Lloh41:
	adrp	x12, _PQ_FLAGS_OFLD@GOTPAGE
Lloh42:
	ldr	x12, [x12, _PQ_FLAGS_OFLD@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
Lloh44:
	ldr	w12, [x12]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w20, w8, w12
	b	LBB0_10
LBB0_8:
Lloh45:
	adrp	x9, _PQ_FLAGS_MCOS@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PQ_FLAGS_MCOS@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	orr	w20, w9, w8
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh43
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_PQ_FLAGS_LB,4,2                ; @PQ_FLAGS_LB
	.comm	_PQ_FLAGS_VFS,4,2               ; @PQ_FLAGS_VFS
	.comm	_PQ_FLAGS_MCOS,4,2              ; @PQ_FLAGS_MCOS
	.comm	_PQ_FLAGS_OFLD,4,2              ; @PQ_FLAGS_OFLD
	.comm	_PQ_FLAGS_ACK,4,2               ; @PQ_FLAGS_ACK
	.comm	_PQ_FLAGS_OOO,4,2               ; @PQ_FLAGS_OOO
	.comm	_PQ_FLAGS_LLT,4,2               ; @PQ_FLAGS_LLT
	.comm	_PQ_FLAGS_MTC,4,2               ; @PQ_FLAGS_MTC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown personality %d\n"

	.no_dead_strip	_qed_get_pq_flags
.subsections_via_symbols
