	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_device_desc
_dump_device_desc:                      ## @dump_device_desc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	cmpl	$255, %r13d
	je	LBB0_16
## %bb.1:
	movl	%esi, %ebx
	testl	%esi, %esi
	jle	LBB0_16
## %bb.2:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	%r15d, %eax
	leal	1(%rax), %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.24(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	4(%r14), %r12
	movl	%r13d, %eax
	sarl	$4, %eax
	cltq
	leaq	_reltable.dump_device_desc.32(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	testb	$8, %r13b
	leaq	L_.str.26(%rip), %rcx
	leaq	L_.str.27(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str.25(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	andl	$7, %r13d
	cmpl	$7, %r13d
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-3, %ebx
	cmpl	$0, (%r12)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.28(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_print_ext_speed
	testb	$-128, (%r12)
	jne	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decl	%ebx
	leaq	4(%r14), %r12
	testb	$-128, 8(%r14)
	movq	%r12, %r14
	jne	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	$-2, %ebx
	movl	%r13d, %eax
	leaq	_reltable.dump_device_desc.31(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edx
	movl	%edx, %eax
	andl	$7, %eax
	leaq	_reltable.dump_device_desc(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	sarl	$3, %edx
	incl	%edx
	leaq	L_.str.30(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_printf
	movl	4(%r12), %r13d
	cmpl	$255, %r13d
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r12
	movq	%r12, %r14
	testl	%ebx, %ebx
	jg	LBB0_3
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.dump_device_desc
_reltable.dump_device_desc:
	.long	L_.str-_reltable.dump_device_desc
	.long	L_.str.1-_reltable.dump_device_desc
	.long	L_.str.2-_reltable.dump_device_desc
	.long	L_.str.3-_reltable.dump_device_desc
	.long	L_.str.4-_reltable.dump_device_desc
	.long	L_.str.5-_reltable.dump_device_desc
	.long	L_.str.6-_reltable.dump_device_desc
	.long	L_.str.7-_reltable.dump_device_desc

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"512b"

L_.str.1:                               ## @.str.1
	.asciz	"2Kb"

L_.str.2:                               ## @.str.2
	.asciz	"8Kb"

L_.str.3:                               ## @.str.3
	.asciz	"32Kb"

L_.str.4:                               ## @.str.4
	.asciz	"128Kb"

L_.str.5:                               ## @.str.5
	.asciz	"512Kb"

L_.str.6:                               ## @.str.6
	.asciz	"2Mb"

L_.str.7:                               ## @.str.7
	.asciz	"reserved"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.dump_device_desc.31
_reltable.dump_device_desc.31:
	.long	L_.str.8-_reltable.dump_device_desc.31
	.long	L_.str.9-_reltable.dump_device_desc.31
	.long	L_.str.10-_reltable.dump_device_desc.31
	.long	L_.str.11-_reltable.dump_device_desc.31
	.long	L_.str.12-_reltable.dump_device_desc.31
	.long	L_.str.13-_reltable.dump_device_desc.31
	.long	L_.str.13-_reltable.dump_device_desc.31

	.section	__TEXT,__cstring,cstring_literals
L_.str.8:                               ## @.str.8
	.asciz	"No speed"

L_.str.9:                               ## @.str.9
	.asciz	"250nS"

L_.str.10:                              ## @.str.10
	.asciz	"200nS"

L_.str.11:                              ## @.str.11
	.asciz	"150nS"

L_.str.12:                              ## @.str.12
	.asciz	"100nS"

L_.str.13:                              ## @.str.13
	.asciz	"Reserved"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.dump_device_desc.32
_reltable.dump_device_desc.32:
	.long	L_.str.14-_reltable.dump_device_desc.32
	.long	L_.str.15-_reltable.dump_device_desc.32
	.long	L_.str.16-_reltable.dump_device_desc.32
	.long	L_.str.17-_reltable.dump_device_desc.32
	.long	L_.str.18-_reltable.dump_device_desc.32
	.long	L_.str.19-_reltable.dump_device_desc.32
	.long	L_.str.20-_reltable.dump_device_desc.32
	.long	L_.str.21-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32
	.long	L_.str.22-_reltable.dump_device_desc.32
	.long	L_.str.23-_reltable.dump_device_desc.32
	.long	L_.str.13-_reltable.dump_device_desc.32

	.section	__TEXT,__cstring,cstring_literals
L_.str.14:                              ## @.str.14
	.asciz	"No device"

L_.str.15:                              ## @.str.15
	.asciz	"Mask ROM"

L_.str.16:                              ## @.str.16
	.asciz	"OTPROM"

L_.str.17:                              ## @.str.17
	.asciz	"UV EPROM"

L_.str.18:                              ## @.str.18
	.asciz	"EEPROM"

L_.str.19:                              ## @.str.19
	.asciz	"FLASH EEPROM"

L_.str.20:                              ## @.str.20
	.asciz	"SRAM"

L_.str.21:                              ## @.str.21
	.asciz	"DRAM"

L_.str.22:                              ## @.str.22
	.asciz	"Function specific"

L_.str.23:                              ## @.str.23
	.asciz	"Extended"

L_.str.24:                              ## @.str.24
	.asciz	"\t%s memory device information:\n"

L_.str.25:                              ## @.str.25
	.asciz	"\t\tDevice number %d, type %s, WPS = %s\n"

L_.str.26:                              ## @.str.26
	.asciz	"ON"

L_.str.27:                              ## @.str.27
	.asciz	"OFF"

L_.str.28:                              ## @.str.28
	.asciz	"\t\t"

L_.str.29:                              ## @.str.29
	.asciz	"\t\tSpeed = %s"

L_.str.30:                              ## @.str.30
	.asciz	", Memory block size = %s, %d units\n"

	.no_dead_strip	_dump_device_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_device_desc
_dump_device_desc:                      ; @dump_device_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w28, [x0]
	cmp	w28, #255
	ccmp	w1, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	mov	x20, x1
	mov	x26, x0
	mov	w27, #0
Lloh0:
	adrp	x23, l_.str.26@PAGE
Lloh1:
	add	x23, x23, l_.str.26@PAGEOFF
Lloh2:
	adrp	x21, l_.str.27@PAGE
Lloh3:
	add	x21, x21, l_.str.27@PAGEOFF
Lloh4:
	adrp	x22, l_.str.25@PAGE
Lloh5:
	add	x22, x22, l_.str.25@PAGEOFF
Lloh6:
	adrp	x25, _dump_device_desc.un_name@PAGE
Lloh7:
	add	x25, x25, _dump_device_desc.un_name@PAGEOFF
Lloh8:
	adrp	x24, l_.str.30@PAGE
Lloh9:
	add	x24, x24, l_.str.30@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w20, w20, #2
Lloh10:
	adrp	x9, _dump_device_desc.speed@PAGE
Lloh11:
	add	x9, x9, _dump_device_desc.speed@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.29@PAGE
Lloh13:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_printf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	and	x9, x8, #0x7
	ldr	x9, [x25, x9, lsl #3]
	asr	w8, w8, #3
	add	w8, w8, #1
	stp	x9, x8, [sp]
	mov	x0, x24
	bl	_printf
	ldr	w28, [x19, #4]!
	cmp	w28, #255
	ccmp	w20, #0, #4, ne
	mov	x26, x19
	b.le	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cbnz	w27, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.24@PAGE
Lloh15:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_printf
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x26, #4
	add	w27, w27, #1
	asr	w8, w28, #4
Lloh16:
	adrp	x9, _dump_device_desc.dev@PAGE
Lloh17:
	add	x9, x9, _dump_device_desc.dev@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	tst	w28, #0x8
	csel	x9, x21, x23, eq
	stp	x8, x9, [sp, #8]
	str	x27, [sp]
	mov	x0, x22
	bl	_printf
	and	w8, w28, #0x7
	cmp	w8, #7
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w20, w20, #3
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh18:
	adrp	x0, l_.str.28@PAGE
Lloh19:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_printf
	ldr	w0, [x19]
	mov	w1, #0
	bl	_print_ext_speed
	ldrb	w8, [x19]
	tbnz	w8, #7, LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x26
	add	x19, x26, #8
	b	LBB0_4
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w20, w20, #1
	add	x8, x26, #4
	ldrb	w9, [x26, #8]
	mov	x26, x8
	tbnz	w9, #7, LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x8, #8
	b	LBB0_4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @dump_device_desc.un_name
_dump_device_desc.un_name:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"512b"

l_.str.1:                               ; @.str.1
	.asciz	"2Kb"

l_.str.2:                               ; @.str.2
	.asciz	"8Kb"

l_.str.3:                               ; @.str.3
	.asciz	"32Kb"

l_.str.4:                               ; @.str.4
	.asciz	"128Kb"

l_.str.5:                               ; @.str.5
	.asciz	"512Kb"

l_.str.6:                               ; @.str.6
	.asciz	"2Mb"

l_.str.7:                               ; @.str.7
	.asciz	"reserved"

	.section	__DATA,__const
	.p2align	3                               ; @dump_device_desc.speed
_dump_device_desc.speed:
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.12
	.quad	l_.str.13
	.quad	l_.str.13

	.section	__TEXT,__cstring,cstring_literals
l_.str.8:                               ; @.str.8
	.asciz	"No speed"

l_.str.9:                               ; @.str.9
	.asciz	"250nS"

l_.str.10:                              ; @.str.10
	.asciz	"200nS"

l_.str.11:                              ; @.str.11
	.asciz	"150nS"

l_.str.12:                              ; @.str.12
	.asciz	"100nS"

l_.str.13:                              ; @.str.13
	.asciz	"Reserved"

	.section	__DATA,__const
	.p2align	3                               ; @dump_device_desc.dev
_dump_device_desc.dev:
	.quad	l_.str.14
	.quad	l_.str.15
	.quad	l_.str.16
	.quad	l_.str.17
	.quad	l_.str.18
	.quad	l_.str.19
	.quad	l_.str.20
	.quad	l_.str.21
	.quad	l_.str.13
	.quad	l_.str.13
	.quad	l_.str.13
	.quad	l_.str.13
	.quad	l_.str.13
	.quad	l_.str.22
	.quad	l_.str.23
	.quad	l_.str.13

	.section	__TEXT,__cstring,cstring_literals
l_.str.14:                              ; @.str.14
	.asciz	"No device"

l_.str.15:                              ; @.str.15
	.asciz	"Mask ROM"

l_.str.16:                              ; @.str.16
	.asciz	"OTPROM"

l_.str.17:                              ; @.str.17
	.asciz	"UV EPROM"

l_.str.18:                              ; @.str.18
	.asciz	"EEPROM"

l_.str.19:                              ; @.str.19
	.asciz	"FLASH EEPROM"

l_.str.20:                              ; @.str.20
	.asciz	"SRAM"

l_.str.21:                              ; @.str.21
	.asciz	"DRAM"

l_.str.22:                              ; @.str.22
	.asciz	"Function specific"

l_.str.23:                              ; @.str.23
	.asciz	"Extended"

l_.str.24:                              ; @.str.24
	.asciz	"\t%s memory device information:\n"

l_.str.25:                              ; @.str.25
	.asciz	"\t\tDevice number %d, type %s, WPS = %s\n"

l_.str.26:                              ; @.str.26
	.asciz	"ON"

l_.str.27:                              ; @.str.27
	.asciz	"OFF"

l_.str.28:                              ; @.str.28
	.asciz	"\t\t"

l_.str.29:                              ; @.str.29
	.asciz	"\t\tSpeed = %s"

l_.str.30:                              ; @.str.30
	.asciz	", Memory block size = %s, %d units\n"

	.no_dead_strip	_dump_device_desc
.subsections_via_symbols
