	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_sku
_validate_sku:                          ## @validate_sku
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	movl	$0, -44(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %r8
	movl	$-1879047792, %esi              ## imm = 0x90000190
	xorl	%edx, %edx
	movl	$3, %ecx
	callq	_read_by_mnemonic
	movl	%eax, %r14d
	leaq	-36(%rbp), %r8
	movq	%r15, %rdi
	movl	$-2147287040, %esi              ## imm = 0x80030000
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	_read_by_mnemonic
	movl	%eax, %ebx
	orl	%r14d, %ebx
	leaq	-44(%rbp), %r8
	movq	%r15, %rdi
	movl	$-2147287036, %esi              ## imm = 0x80030004
	movl	$24, %edx
	movl	$8, %ecx
	callq	_read_by_mnemonic
	movl	$-1, %r14d
	orl	%ebx, %eax
	jne	LBB0_14
## %bb.1:
	movl	8(%r15), %edi
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %ecx
	movl	-44(%rbp), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	cmpl	$1376, -36(%rbp)                ## imm = 0x560
	je	LBB0_13
## %bb.2:
	movl	-40(%rbp), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_MXL_HYDRA_DEVICE_584@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_MXL_HYDRA_DEVICE_581@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	cmpl	%eax, %r12d
	je	LBB0_14
## %bb.5:
	movq	_MXL_HYDRA_DEVICE_581S@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jne	LBB0_13
## %bb.6:
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_14
LBB0_10:
	movq	_MXL_HYDRA_DEVICE_582@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r14d, %r14d
	cmpl	(%rax), %r12d
	jne	LBB0_13
	jmp	LBB0_14
LBB0_8:
	movq	_MXL_HYDRA_DEVICE_544@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	(%rax), %r12d
	je	LBB0_14
## %bb.9:
	movq	_MXL_HYDRA_DEVICE_542@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_14
LBB0_13:
	movl	$-1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"padMuxBond=%08x, prcmChipId=%08x, prcmSoCId=%08x\n"

	.comm	_MXL_HYDRA_DEVICE_581,4,2       ## @MXL_HYDRA_DEVICE_581
	.comm	_MXL_HYDRA_DEVICE_581S,4,2      ## @MXL_HYDRA_DEVICE_581S
	.comm	_MXL_HYDRA_DEVICE_584,4,2       ## @MXL_HYDRA_DEVICE_584
	.comm	_MXL_HYDRA_DEVICE_544,4,2       ## @MXL_HYDRA_DEVICE_544
	.comm	_MXL_HYDRA_DEVICE_542,4,2       ## @MXL_HYDRA_DEVICE_542
	.comm	_MXL_HYDRA_DEVICE_582,4,2       ## @MXL_HYDRA_DEVICE_582
	.no_dead_strip	_validate_sku
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_sku
_validate_sku:                          ; @validate_sku
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	x8, [x0]
	ldr	w21, [x8]
	add	x4, sp, #12
	mov	w1, #400
	movk	w1, #36864, lsl #16
	mov	w2, #0
	mov	w3, #3
	bl	_read_by_mnemonic
	mov	x20, x0
	mov	w22, #-2147287040
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #-2147287040
	mov	w2, #0
	mov	w3, #12
	bl	_read_by_mnemonic
	orr	w20, w0, w20
	orr	w1, w22, #0x4
	add	x4, sp, #4
	mov	x0, x19
	mov	w2, #24
	mov	w3, #8
	bl	_read_by_mnemonic
	orr	w8, w20, w0
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	ldp	w3, w2, [sp, #8]
	ldr	w4, [sp, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [sp, #8]
	cmp	w8, #1376
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	w8, [sp, #12]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.5:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh4:
	adrp	x8, _MXL_HYDRA_DEVICE_584@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MXL_HYDRA_DEVICE_584@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh6:
	adrp	x8, _MXL_HYDRA_DEVICE_581@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MXL_HYDRA_DEVICE_581@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_13
; %bb.8:
Lloh9:
	adrp	x9, _MXL_HYDRA_DEVICE_581S@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MXL_HYDRA_DEVICE_581S@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w21, w9
	b.ne	LBB0_2
; %bb.9:
	mov	w0, #0
	ldr	x9, [x19]
	str	w8, [x9]
	b	LBB0_3
LBB0_10:
Lloh12:
	adrp	x8, _MXL_HYDRA_DEVICE_582@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MXL_HYDRA_DEVICE_582@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_2
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x8, _MXL_HYDRA_DEVICE_544@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MXL_HYDRA_DEVICE_544@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _MXL_HYDRA_DEVICE_542@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MXL_HYDRA_DEVICE_542@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	b.ne	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"padMuxBond=%08x, prcmChipId=%08x, prcmSoCId=%08x\n"

	.comm	_MXL_HYDRA_DEVICE_581,4,2       ; @MXL_HYDRA_DEVICE_581
	.comm	_MXL_HYDRA_DEVICE_581S,4,2      ; @MXL_HYDRA_DEVICE_581S
	.comm	_MXL_HYDRA_DEVICE_584,4,2       ; @MXL_HYDRA_DEVICE_584
	.comm	_MXL_HYDRA_DEVICE_544,4,2       ; @MXL_HYDRA_DEVICE_544
	.comm	_MXL_HYDRA_DEVICE_542,4,2       ; @MXL_HYDRA_DEVICE_542
	.comm	_MXL_HYDRA_DEVICE_582,4,2       ; @MXL_HYDRA_DEVICE_582
	.no_dead_strip	_validate_sku
.subsections_via_symbols
