	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hideep_load_dwz
_hideep_load_dwz:                       ## @hideep_load_dwz
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_hideep_enter_pgm
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	$50, %edi
	callq	_msleep
	movq	_HIDEEP_DWZ_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%r14), %rdx
	movq	%r14, %rdi
	movl	$2, %ecx
	callq	_hideep_pgm_r_mem
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_SW_RESET_IN_PGM
	movl	$50, %edi
	callq	_msleep
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	jmp	LBB0_8
LBB0_3:
	movl	12(%r14), %edi
	callq	_be16_to_cpu
	movl	%eax, %ecx
	andb	$-16, %cl
	cmpb	$64, %cl
	je	LBB0_4
## %bb.5:
	cmpb	$96, %cl
	jne	LBB0_9
## %bb.6:
	movl	$3146363, %r15d                 ## imm = 0x30027B
	movl	$65536, %r12d                   ## imm = 0x10000
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	movl	$3211264, %r15d                 ## imm = 0x310000
	movl	$49152, %r12d                   ## imm = 0xC000
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movq	16(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%r12d, (%r14)
	movl	%r15d, 4(%r14)
	movq	16(%r14), %r15
	movl	8(%r14), %edi
	callq	_be16_to_cpu
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_8
LBB0_9:
	movq	16(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDEEP_DWZ_INFO,4,2            ## @HIDEEP_DWZ_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to fetch DWZ data: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"used crimson IC"

L_.str.2:                               ## @.str.2
	.asciz	"used lime IC"

L_.str.3:                               ## @.str.3
	.asciz	"product code is wrong: %#04x"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"firmware release version: %#04x"

	.no_dead_strip	_hideep_load_dwz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hideep_load_dwz
lCPI0_0:
	.long	49152                           ; 0xc000
	.long	3211264                         ; 0x310000
lCPI0_1:
	.long	65536                           ; 0x10000
	.long	3146363                         ; 0x30027b
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hideep_load_dwz:                       ; @hideep_load_dwz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	bl	_hideep_enter_pgm
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.1:
	mov	w0, #50
	bl	_msleep
Lloh0:
	adrp	x8, _HIDEEP_DWZ_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIDEEP_DWZ_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x19, #8
	mov	x0, x19
	mov	w3, #2
	bl	_hideep_pgm_r_mem
	mov	x20, x0
	mov	w0, #10
	bl	_SW_RESET_IN_PGM
	mov	w0, #50
	bl	_msleep
	cbz	w20, LBB0_3
; %bb.2:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_9
LBB0_3:
	ldr	w0, [x19, #12]
	bl	_be16_to_cpu
	and	w8, w0, #0xf0
	cmp	w8, #64
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #96
	b.ne	LBB0_8
; %bb.5:
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d8, [x8, lCPI0_1@PAGEOFF]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	ldr	x0, [x19, #16]
	bl	_dev_dbg
	str	d8, [x19]
	ldr	x20, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_be16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w20, #0
	b	LBB0_9
LBB0_8:
	mov	x2, x0
	ldr	x0, [x19, #16]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDEEP_DWZ_INFO,4,2            ; @HIDEEP_DWZ_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to fetch DWZ data: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"used crimson IC"

l_.str.2:                               ; @.str.2
	.asciz	"used lime IC"

l_.str.3:                               ; @.str.3
	.asciz	"product code is wrong: %#04x"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"firmware release version: %#04x"

	.no_dead_strip	_hideep_load_dwz
.subsections_via_symbols
