	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_req_get_qp_type
_cm_req_get_qp_type:                    ## @cm_req_get_qp_type
	.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
	movl	4(%rdi), %edi
	callq	_be32_to_cpu
	movl	%eax, %ecx
	shrl	%ecx
	andl	$3, %ecx
	cmpl	$3, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$1, %ecx
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.3:
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_IB_QPT_UC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	(%rbx), %ecx
	andl	$7, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_IB_QPT_XRC_TGT@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_IB_QPT_UC,4,2                  ## @IB_QPT_UC
	.comm	_IB_QPT_XRC_TGT,4,2             ## @IB_QPT_XRC_TGT
	.no_dead_strip	_cm_req_get_qp_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_req_get_qp_type
_cm_req_get_qp_type:                    ; @cm_req_get_qp_type
	.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
	ldr	w0, [x0, #4]
	bl	_be32_to_cpu
	ubfx	w8, w0, #1, #2
	cmp	w8, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19]
	and	w8, w8, #0x7
Lloh3:
	adrp	x9, _IB_QPT_XRC_TGT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_QPT_XRC_TGT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #1
	csel	w0, w9, wzr, eq
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _IB_QPT_UC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_QPT_UC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_IB_QPT_UC,4,2                  ; @IB_QPT_UC
	.comm	_IB_QPT_XRC_TGT,4,2             ; @IB_QPT_XRC_TGT
	.no_dead_strip	_cm_req_get_qp_type
.subsections_via_symbols
