	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm8211_eeprom_register_write
_adm8211_eeprom_register_write:         ## @adm8211_eeprom_register_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	cmpq	$0, 24(%rdi)
	movl	$0, %ecx
	je	LBB0_2
## %bb.1:
	movq	_ADM8211_SPR_SDI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	cmpq	$0, 16(%rdi)
	movl	$0, %esi
	je	LBB0_4
## %bb.3:
	movq	_ADM8211_SPR_SDO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_4:
	cmpq	$0, 8(%rdi)
	movl	$0, %edx
	je	LBB0_6
## %bb.5:
	movq	_ADM8211_SPR_SCLK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	movq	_ADM8211_SPR_SRS@GOTPCREL(%rip), %r8
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.7:
	movq	_ADM8211_SPR_SCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	(%r8), %ecx
	orl	%edx, %esi
	orl	%ecx, %esi
	orl	%eax, %esi
	orl	$16384, %esi                    ## imm = 0x4000
	movq	_SPR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ADM8211_CSR_WRITE
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ADM8211_CSR_READ               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADM8211_SPR_SRS,4,2            ## @ADM8211_SPR_SRS
	.comm	_ADM8211_SPR_SDI,4,2            ## @ADM8211_SPR_SDI
	.comm	_ADM8211_SPR_SDO,4,2            ## @ADM8211_SPR_SDO
	.comm	_ADM8211_SPR_SCLK,4,2           ## @ADM8211_SPR_SCLK
	.comm	_ADM8211_SPR_SCS,4,2            ## @ADM8211_SPR_SCS
	.comm	_SPR,4,2                        ## @SPR
	.no_dead_strip	_adm8211_eeprom_register_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm8211_eeprom_register_write
_adm8211_eeprom_register_write:         ; @adm8211_eeprom_register_write
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ADM8211_SPR_SRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADM8211_SPR_SRS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADM8211_SPR_SDI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADM8211_SPR_SDI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	x11, x10, [x0, #16]
	cmp	x10, #0
Lloh6:
	adrp	x10, _ADM8211_SPR_SDO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ADM8211_SPR_SDO@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh8:
	ldr	w10, [x10]
	cmp	x11, #0
	csel	w10, wzr, w10, eq
Lloh9:
	adrp	x11, _ADM8211_SPR_SCLK@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ADM8211_SPR_SCLK@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	ldp	x13, x12, [x0]
	cmp	x12, #0
Lloh12:
	adrp	x12, _ADM8211_SPR_SCS@GOTPAGE
Lloh13:
	ldr	x12, [x12, _ADM8211_SPR_SCS@GOTPAGEOFF]
	csel	w11, wzr, w11, eq
Lloh14:
	ldr	w12, [x12]
	cmp	x13, #0
	csel	w12, wzr, w12, eq
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w1, w8, #0x4000
Lloh15:
	adrp	x19, _SPR@GOTPAGE
Lloh16:
	ldr	x19, [x19, _SPR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ADM8211_CSR_WRITE
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ADM8211_CSR_READ
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADM8211_SPR_SRS,4,2            ; @ADM8211_SPR_SRS
	.comm	_ADM8211_SPR_SDI,4,2            ; @ADM8211_SPR_SDI
	.comm	_ADM8211_SPR_SDO,4,2            ; @ADM8211_SPR_SDO
	.comm	_ADM8211_SPR_SCLK,4,2           ; @ADM8211_SPR_SCLK
	.comm	_ADM8211_SPR_SCS,4,2            ; @ADM8211_SPR_SCS
	.comm	_SPR,4,2                        ; @SPR
	.no_dead_strip	_adm8211_eeprom_register_write
.subsections_via_symbols
