	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_get_dev_type
_qat_uclo_get_dev_type:                 ## @qat_uclo_get_dev_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %esi
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_7
## %bb.3:
	movq	_ICP_QAT_AC_895XCC_DEV_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_ICP_QAT_AC_C3XXX_DEV_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_ICP_QAT_AC_C62X_DEV_TYPE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_QAT_AC_895XCC_DEV_TYPE,4,2 ## @ICP_QAT_AC_895XCC_DEV_TYPE
	.comm	_ICP_QAT_AC_C62X_DEV_TYPE,4,2   ## @ICP_QAT_AC_C62X_DEV_TYPE
	.comm	_ICP_QAT_AC_C3XXX_DEV_TYPE,4,2  ## @ICP_QAT_AC_C3XXX_DEV_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QAT: unsupported device 0x%x\n"

	.no_dead_strip	_qat_uclo_get_dev_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_get_dev_type
_qat_uclo_get_dev_type:                 ; @qat_uclo_get_dev_type
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w1, [x8]
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _ICP_QAT_AC_895XCC_DEV_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICP_QAT_AC_895XCC_DEV_TYPE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _ICP_QAT_AC_C3XXX_DEV_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICP_QAT_AC_C3XXX_DEV_TYPE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _ICP_QAT_AC_C62X_DEV_TYPE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICP_QAT_AC_C62X_DEV_TYPE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_QAT_AC_895XCC_DEV_TYPE,4,2 ; @ICP_QAT_AC_895XCC_DEV_TYPE
	.comm	_ICP_QAT_AC_C62X_DEV_TYPE,4,2   ; @ICP_QAT_AC_C62X_DEV_TYPE
	.comm	_ICP_QAT_AC_C3XXX_DEV_TYPE,4,2  ; @ICP_QAT_AC_C3XXX_DEV_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QAT: unsupported device 0x%x\n"

	.no_dead_strip	_qat_uclo_get_dev_type
.subsections_via_symbols
