	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_get_hw_type
_cw1200_get_hw_type:                    ## @cw1200_get_hw_type
	.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, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$4, %ecx
	je	LBB0_4
## %bb.2:
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.3:
	movl	$1, (%rsi)
	movq	_HIF_9000_SILICON_VERSATILE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movl	%ecx, (%rsi)
	testl	%edi, %edi
	js	LBB0_5
## %bb.6:
	movq	_HIF_8601_SILICON@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_HIF_8601_VERSATILE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIF_9000_SILICON_VERSATILE,4,2 ## @HIF_9000_SILICON_VERSATILE
	.comm	_HIF_8601_VERSATILE,4,2         ## @HIF_8601_VERSATILE
	.comm	_HIF_8601_SILICON,4,2           ## @HIF_8601_SILICON
	.no_dead_strip	_cw1200_get_hw_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_get_hw_type
_cw1200_get_hw_type:                    ; @cw1200_get_hw_type
	.cfi_startproc
; %bb.0:
	ubfx	w8, w0, #24, #3
	sub	w9, w8, #1
	cmp	w9, #2
	ccmp	w8, #4, #4, hs
	b.ne	LBB0_3
; %bb.1:
	str	w8, [x1]
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _HIF_8601_SILICON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIF_8601_SILICON@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
	cbnz	w8, LBB0_6
; %bb.4:
	mov	w8, #1
	str	w8, [x1]
Lloh3:
	adrp	x8, _HIF_9000_SILICON_VERSATILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HIF_9000_SILICON_VERSATILE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh6:
	adrp	x8, _HIF_8601_VERSATILE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HIF_8601_VERSATILE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_6:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HIF_9000_SILICON_VERSATILE,4,2 ; @HIF_9000_SILICON_VERSATILE
	.comm	_HIF_8601_VERSATILE,4,2         ; @HIF_8601_VERSATILE
	.comm	_HIF_8601_SILICON,4,2           ; @HIF_8601_SILICON
	.no_dead_strip	_cw1200_get_hw_type
.subsections_via_symbols
