	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hw_atl_utils_hw_chip_features_init ## -- Begin function hw_atl_utils_hw_chip_features_init
	.p2align	4, 0x90
_hw_atl_utils_hw_chip_features_init:    ## @hw_atl_utils_hw_chip_features_init
	.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	%rsi, %rbx
	callq	_hw_atl_reg_glb_mif_id_get
	andl	$15, %eax
	cmpl	$10, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_4
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.3:
	movq	_HAL_ATLANTIC_UTILS_CHIP_REVISION_A0@GOTPCREL(%rip), %rax
	movq	_HAL_ATLANTIC_UTILS_CHIP_MPI_AQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_HAL_ATLANTIC_UTILS_CHIP_MIPS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B1@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B0@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_HAL_ATLANTIC_UTILS_CHIP_MPI_AQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_HAL_ATLANTIC_UTILS_CHIP_MIPS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_HAL_ATLANTIC_UTILS_CHIP_TPO2@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_HAL_ATLANTIC_UTILS_CHIP_RPF2@GOTPCREL(%rip), %rax
LBB0_7:
	orl	(%rax), %ecx
LBB0_8:
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_A0,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_REVISION_A0
	.comm	_HAL_ATLANTIC_UTILS_CHIP_MPI_AQ,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_MPI_AQ
	.comm	_HAL_ATLANTIC_UTILS_CHIP_MIPS,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_MIPS
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B0,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_REVISION_B0
	.comm	_HAL_ATLANTIC_UTILS_CHIP_TPO2,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_TPO2
	.comm	_HAL_ATLANTIC_UTILS_CHIP_RPF2,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_RPF2
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B1,4,2 ## @HAL_ATLANTIC_UTILS_CHIP_REVISION_B1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hw_atl_utils_hw_chip_features_init ; -- Begin function hw_atl_utils_hw_chip_features_init
	.p2align	2
_hw_atl_utils_hw_chip_features_init:    ; @hw_atl_utils_hw_chip_features_init
	.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, x1
	bl	_hw_atl_reg_glb_mif_id_get
	and	w8, w0, #0xf
	cmp	w8, #10
	b.eq	LBB0_4
; %bb.1:
	cmp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orr	w8, w8, w9
Lloh18:
	adrp	x9, _HAL_ATLANTIC_UTILS_CHIP_TPO2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HAL_ATLANTIC_UTILS_CHIP_TPO2@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _HAL_ATLANTIC_UTILS_CHIP_RPF2@GOTPAGE
Lloh22:
	ldr	x9, [x9, _HAL_ATLANTIC_UTILS_CHIP_RPF2@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_9
LBB0_8:
	mov	w8, #0
LBB0_9:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_A0,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_REVISION_A0
	.comm	_HAL_ATLANTIC_UTILS_CHIP_MPI_AQ,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_MPI_AQ
	.comm	_HAL_ATLANTIC_UTILS_CHIP_MIPS,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_MIPS
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B0,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_REVISION_B0
	.comm	_HAL_ATLANTIC_UTILS_CHIP_TPO2,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_TPO2
	.comm	_HAL_ATLANTIC_UTILS_CHIP_RPF2,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_RPF2
	.comm	_HAL_ATLANTIC_UTILS_CHIP_REVISION_B1,4,2 ; @HAL_ATLANTIC_UTILS_CHIP_REVISION_B1
.subsections_via_symbols
