	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm8211_write_sram_bytes
_adm8211_write_sram_bytes:              ## @adm8211_write_sram_bytes
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	_WEPCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ADM8211_CSR_READ
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	_ADM8211_REV_BA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jge	LBB0_1
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	leal	1(%rbx), %ecx
	movl	(%r15,%rcx,4), %edx
	shll	$8, %edx
	orl	(%r15,%rax,4), %edx
	movl	%ebx, %esi
	shrl	%esi
	addl	%r13d, %esi
	movq	%r12, %rdi
	callq	_adm8211_write_sram
	addl	$2, %ebx
	cmpl	%r14d, %ebx
	jb	LBB0_6
	jmp	LBB0_7
LBB0_1:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.2:
	movl	%r13d, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	leal	1(%r13), %ecx
	movl	(%r15,%rcx,4), %ecx
	shll	$8, %ecx
	orl	(%r15,%rax,4), %ecx
	leal	2(%r13), %eax
	movl	(%r15,%rax,4), %eax
	shll	$16, %eax
	leal	3(%r13), %edx
	movl	(%r15,%rdx,4), %edx
	shll	$24, %edx
	orl	%eax, %edx
	orl	%ecx, %edx
	movl	%r13d, %esi
	shrl	$2, %esi
	addl	%ebx, %esi
	movq	%r12, %rdi
	callq	_adm8211_write_sram
	addl	$4, %r13d
	cmpl	%r14d, %r13d
	jb	LBB0_3
LBB0_7:
	movq	_WEPCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ADM8211_CSR_WRITE              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WEPCTL,4,2                     ## @WEPCTL
	.comm	_ADM8211_REV_BA,8,3             ## @ADM8211_REV_BA
	.no_dead_strip	_adm8211_write_sram_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm8211_write_sram_bytes
_adm8211_write_sram_bytes:              ; @adm8211_write_sram_bytes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x0]
Lloh0:
	adrp	x24, _WEPCTL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _WEPCTL@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_ADM8211_CSR_READ
	mov	x23, x0
	ldr	x8, [x25]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _ADM8211_REV_BA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADM8211_REV_BA@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
	cbz	w19, LBB0_7
; %bb.2:
	mov	w25, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, w25, uxtw #2]
	add	w9, w25, #1
	ldr	w9, [x20, w9, uxtw #2]
	orr	w2, w8, w9, lsl #8
	add	w1, w21, w25, lsr #1
	mov	x0, x22
	bl	_adm8211_write_sram
	add	w25, w25, #2
	cmp	w25, w19
	b.lo	LBB0_3
	b	LBB0_7
LBB0_4:
	cbz	w19, LBB0_7
; %bb.5:
	mov	w25, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, w25, uxtw #2]
	add	w9, w25, #1
	ldr	w9, [x20, w9, uxtw #2]
	orr	w8, w8, w9, lsl #8
	add	w9, w25, #2
	ldr	w9, [x20, w9, uxtw #2]
	orr	w8, w8, w9, lsl #16
	add	w9, w25, #3
	ldr	w9, [x20, w9, uxtw #2]
	orr	w2, w8, w9, lsl #24
	add	w1, w21, w25, lsr #2
	mov	x0, x22
	bl	_adm8211_write_sram
	add	w25, w25, #4
	cmp	w25, w19
	b.lo	LBB0_6
LBB0_7:
	ldr	w0, [x24]
	mov	x1, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ADM8211_CSR_WRITE
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WEPCTL,4,2                     ; @WEPCTL
	.comm	_ADM8211_REV_BA,8,3             ; @ADM8211_REV_BA
	.no_dead_strip	_adm8211_write_sram_bytes
.subsections_via_symbols
