	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5064_sync_powerdown_mode
_ad5064_sync_powerdown_mode:            ## @ad5064_sync_powerdown_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %r8
	movq	_AD5064_REGMAP_LTC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	movl	(%rsi), %edx
	cmpq	(%rcx), %r8
	je	LBB0_3
## %bb.1:
	movl	$1, %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	movq	8(%rdi), %rcx
	movq	8(%rsi), %r9
	xorl	%edx, %edx
	cmpq	$0, (%rcx,%r9,8)
	je	LBB0_3
## %bb.2:
	movq	_AD5064_REGMAP_ADI2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	setne	%cl
	movq	(%rdi), %rsi
	movl	(%rsi,%r9,4), %esi
	shlb	$2, %cl
	addb	$4, %cl
	shll	%cl, %esi
	orl	%esi, %eax
LBB0_3:
	movq	_AD5064_CMD_POWERDOWN_DAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_ad5064_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5064_REGMAP_LTC,8,3          ## @AD5064_REGMAP_LTC
	.comm	_AD5064_REGMAP_ADI2,8,3         ## @AD5064_REGMAP_ADI2
	.comm	_AD5064_CMD_POWERDOWN_DAC,4,2   ## @AD5064_CMD_POWERDOWN_DAC
	.no_dead_strip	_ad5064_sync_powerdown_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5064_sync_powerdown_mode
_ad5064_sync_powerdown_mode:            ; @ad5064_sync_powerdown_mode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _AD5064_REGMAP_LTC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AD5064_REGMAP_LTC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w2, [x1]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w3, #0
	b	LBB0_5
LBB0_2:
	mov	w9, #1
	lsl	w3, w9, w2
	ldr	x10, [x0, #8]
	ldr	x9, [x1, #8]
	ldr	x10, [x10, x9, lsl #3]
	cbz	x10, LBB0_4
; %bb.3:
	mov	w2, #0
Lloh3:
	adrp	x10, _AD5064_REGMAP_ADI2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AD5064_REGMAP_ADI2@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w8, #8
	mov	w10, #4
	csel	w8, w10, w8, eq
	ldr	x10, [x0]
	ldr	w9, [x10, x9, lsl #2]
	lsl	w8, w9, w8
	orr	w3, w8, w3
	b	LBB0_5
LBB0_4:
	mov	w2, #0
LBB0_5:
Lloh6:
	adrp	x8, _AD5064_CMD_POWERDOWN_DAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AD5064_CMD_POWERDOWN_DAC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w4, #0
	b	_ad5064_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5064_REGMAP_LTC,8,3          ; @AD5064_REGMAP_LTC
	.comm	_AD5064_REGMAP_ADI2,8,3         ; @AD5064_REGMAP_ADI2
	.comm	_AD5064_CMD_POWERDOWN_DAC,4,2   ; @AD5064_CMD_POWERDOWN_DAC
	.no_dead_strip	_ad5064_sync_powerdown_mode
.subsections_via_symbols
