	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9033_wr_reg_val_tab
_af9033_wr_reg_val_tab:                 ## @af9033_wr_reg_val_tab
	.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	$888, %rsp                      ## imm = 0x378
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -928(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	cmpl	$852, %ebx                      ## imm = 0x354
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.3:
	movq	%r14, -920(%rbp)                ## 8-byte Spill
	leal	-1(%rbx), %r14d
	movl	%ebx, %r12d
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	incl	%ecx
	cmpq	%r12, %r15
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13,%r15,8), %eax
	movslq	%ecx, %rdx
	movl	%eax, -912(%rbp,%rdx,4)
	movl	(%r13,%r15,8), %esi
	cmpq	%r14, %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r13,%r15,8), %eax
	decl	%eax
	cmpl	%eax, %esi
	je	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-928(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	subl	%ecx, %esi
	incl	%ecx
	leaq	-912(%rbp), %rdx
	callq	_regmap_bulk_write
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	xorl	%ecx, %ecx
	cmpq	%r12, %r15
	jne	LBB0_5
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_11:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	-920(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %edx
	callq	_dev_dbg
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	addq	$888, %rsp                      ## imm = 0x378
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tab_len=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"tab len %d is too big\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"failed=%d\n"

	.comm	_MAX_TAB_LEN,4,2                ## @MAX_TAB_LEN
	.no_dead_strip	_af9033_wr_reg_val_tab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9033_wr_reg_val_tab
_af9033_wr_reg_val_tab:                 ; @af9033_wr_reg_val_tab
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #864
	mov	x22, x2
	mov	x20, x1
	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]
	ldr	x19, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	cmp	w22, #852
	b.ls	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_warn
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_2:
	cbz	w22, LBB0_11
; %bb.3:
	mov	x24, #0
	mov	w8, #0
	sub	w23, w22, #1
	add	x25, sp, #4
	mov	w26, w22
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #1
	mov	x24, x10
	cmp	x24, x26
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x20, x24, lsl #3
	ldp	w9, w10, [x9]
	str	w10, [x25, w8, sxtw #2]
	cmp	x24, x23
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x24, #1
	lsl	x11, x10, #3
	ldr	w11, [x20, x11]
	sub	w11, w11, #1
	cmp	w9, w11
	b.eq	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	sub	w1, w9, w8
	add	w3, w8, #1
	add	x2, sp, #4
	bl	_regmap_bulk_write
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	add	x24, x24, #1
	cmp	x24, x26
	b.ne	LBB0_5
LBB0_9:
	mov	w22, #0
	b	LBB0_11
LBB0_10:
	mov	x22, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x22
	add	sp, sp, #864
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tab_len=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"tab len %d is too big\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"failed=%d\n"

	.comm	_MAX_TAB_LEN,4,2                ; @MAX_TAB_LEN
	.no_dead_strip	_af9033_wr_reg_val_tab
.subsections_via_symbols
