	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_reg_range
_dump_reg_range:                        ## @dump_reg_range
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%r8d, -116(%rbp)                ## 4-byte Spill
	cmpl	$16, %r8d
	jle	LBB0_1
## %bb.9:
	movl	(%r14), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.10:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintk0                       ## TAILCALL
LBB0_1:
	cmpl	%ecx, %edx
	jge	LBB0_7
## %bb.2:
	movslq	%edx, %rbx
	movl	-116(%rbp), %eax                ## 4-byte Reload
	movslq	%eax, %rsi
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	movl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	%ecx, -124(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %ecx
	movl	-120(%rbp), %r8d                ## 4-byte Reload
	leaq	-112(%rbp), %r9
	xorl	%eax, %eax
	callq	_dprintk0
	addq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	addq	-136(%rbp), %r12                ## 8-byte Folded Reload
	cmpq	-144(%rbp), %rbx                ## 8-byte Folded Reload
	movl	-124(%rbp), %ecx                ## 4-byte Reload
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	subl	%ebx, %ecx
	movl	-116(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, %ecx
	cmovgel	%eax, %ecx
	movl	%ecx, -120(%rbp)                ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-120(%rbp), %r15d               ## 4-byte Reload
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r12,%r13), %esi
	movq	%r14, %rdi
	callq	_tvp5150_read
	movl	%eax, -112(%rbp,%r13,4)
	incq	%r13
	cmpq	%r15, %r13
	jb	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.11:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too much data to dump\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s reg %02x = %*ph\n"

	.no_dead_strip	_dump_reg_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_reg_range
_dump_reg_range:                        ; @dump_reg_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	str	x1, [sp, #48]                   ; 8-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	w4, #16
	b.le	LBB0_3
; %bb.1:
	ldr	w0, [x21]
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_dprintk0
LBB0_3:
	cmp	w2, w3
	b.ge	LBB0_9
; %bb.4:
	mov	x19, x4
	sxtw	x24, w2
	sxtw	x8, w19
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	sxtw	x26, w3
	mov	w27, w2
	add	x28, sp, #56
	mov	w23, w4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x22, x28, [sp, #16]
	mov	x8, x24
	str	x8, [sp, #8]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dprintk0
	add	x27, x27, x23
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	cmp	x24, x26
	mov	x3, x25
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x25, x3
	sub	w8, w3, w24
	cmp	w8, w19
	csel	w22, w8, w19, lt
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w1, w27, w20
	mov	x0, x21
	bl	_tvp5150_read
	str	w0, [x28, x20, lsl #2]
	add	x20, x20, #1
	cmp	x20, x22
	b.lo	LBB0_8
	b	LBB0_5
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too much data to dump\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s reg %02x = %*ph\n"

	.no_dead_strip	_dump_reg_range
.subsections_via_symbols
