	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7879_setup
_ad7879_setup:                          ## @ad7879_setup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AD7879_YPLUS_BIT@GOTPCREL(%rip), %rax
	movq	_AD7879_XPLUS_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AD7879_Z2_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AD7879_Z1_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AD7879_TEMPMASK_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AD7879_AUXVBATMASK_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AD7879_GPIOALERTMASK_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rdi, %rbx
	movl	%ecx, (%rdi)
	movq	_AD7879_PM_DYN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AD7879_PM
	movl	%eax, %r14d
	movq	_AD7879_DFR@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	36(%rbx), %edi
	callq	_AD7879_AVG
	movl	%eax, %r15d
	movl	32(%rbx), %edi
	callq	_AD7879_MFS
	movl	%eax, %r12d
	orl	%r15d, %r12d
	movl	28(%rbx), %edi
	callq	_AD7879_FCD
	orl	%r12d, %eax
	orl	%r14d, %eax
	orl	8(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	_AD7879_MODE_INT@GOTPCREL(%rip), %rax
	movq	_AD7879_MODE_SEQ1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movl	24(%rbx), %edi
	callq	_AD7879_ACQ
	movl	%eax, %r14d
	movl	20(%rbx), %edi
	callq	_AD7879_TMR
	orl	%r14d, %eax
	orl	%r15d, %eax
	movl	%eax, 12(%rbx)
	movl	4(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_AD7879_REG_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ad7879_write
	movl	(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_AD7879_REG_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ad7879_write
	movl	12(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_AD7879_REG_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ad7879_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7879_YPLUS_BIT,4,2           ## @AD7879_YPLUS_BIT
	.comm	_AD7879_XPLUS_BIT,4,2           ## @AD7879_XPLUS_BIT
	.comm	_AD7879_Z2_BIT,4,2              ## @AD7879_Z2_BIT
	.comm	_AD7879_Z1_BIT,4,2              ## @AD7879_Z1_BIT
	.comm	_AD7879_TEMPMASK_BIT,4,2        ## @AD7879_TEMPMASK_BIT
	.comm	_AD7879_AUXVBATMASK_BIT,4,2     ## @AD7879_AUXVBATMASK_BIT
	.comm	_AD7879_GPIOALERTMASK_BIT,4,2   ## @AD7879_GPIOALERTMASK_BIT
	.comm	_AD7879_PM_DYN,4,2              ## @AD7879_PM_DYN
	.comm	_AD7879_DFR,4,2                 ## @AD7879_DFR
	.comm	_AD7879_MODE_INT,4,2            ## @AD7879_MODE_INT
	.comm	_AD7879_MODE_SEQ1,4,2           ## @AD7879_MODE_SEQ1
	.comm	_AD7879_REG_CTRL2,4,2           ## @AD7879_REG_CTRL2
	.comm	_AD7879_REG_CTRL3,4,2           ## @AD7879_REG_CTRL3
	.comm	_AD7879_REG_CTRL1,4,2           ## @AD7879_REG_CTRL1
	.no_dead_strip	_ad7879_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7879_setup
_ad7879_setup:                          ; @ad7879_setup
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _AD7879_YPLUS_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD7879_YPLUS_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AD7879_XPLUS_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AD7879_XPLUS_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _AD7879_Z2_BIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AD7879_Z2_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _AD7879_Z1_BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AD7879_Z1_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _AD7879_TEMPMASK_BIT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AD7879_TEMPMASK_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _AD7879_AUXVBATMASK_BIT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AD7879_AUXVBATMASK_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _AD7879_GPIOALERTMASK_BIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AD7879_GPIOALERTMASK_BIT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
Lloh21:
	adrp	x8, _AD7879_PM_DYN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AD7879_PM_DYN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_AD7879_PM
Lloh24:
	adrp	x8, _AD7879_DFR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AD7879_DFR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w20, w8, w0
	ldr	w0, [x19, #36]
	bl	_AD7879_AVG
	orr	w20, w20, w0
	ldr	w0, [x19, #32]
	bl	_AD7879_MFS
	orr	w20, w20, w0
	ldr	w0, [x19, #28]
	bl	_AD7879_FCD
	orr	w8, w20, w0
	ldr	w9, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #4]
Lloh27:
	adrp	x8, _AD7879_MODE_INT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AD7879_MODE_INT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _AD7879_MODE_SEQ1@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AD7879_MODE_SEQ1@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	w0, [x19, #24]
	bl	_AD7879_ACQ
	orr	w20, w20, w0
	ldr	w0, [x19, #20]
	bl	_AD7879_TMR
	orr	w8, w20, w0
	str	w8, [x19, #12]
	ldr	w0, [x19, #16]
Lloh33:
	adrp	x8, _AD7879_REG_CTRL2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AD7879_REG_CTRL2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	bl	_ad7879_write
	ldr	w0, [x19, #16]
Lloh36:
	adrp	x8, _AD7879_REG_CTRL3@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AD7879_REG_CTRL3@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_ad7879_write
Lloh39:
	adrp	x8, _AD7879_REG_CTRL1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AD7879_REG_CTRL1@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ldp	w2, w0, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ad7879_write
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_AD7879_YPLUS_BIT,4,2           ; @AD7879_YPLUS_BIT
	.comm	_AD7879_XPLUS_BIT,4,2           ; @AD7879_XPLUS_BIT
	.comm	_AD7879_Z2_BIT,4,2              ; @AD7879_Z2_BIT
	.comm	_AD7879_Z1_BIT,4,2              ; @AD7879_Z1_BIT
	.comm	_AD7879_TEMPMASK_BIT,4,2        ; @AD7879_TEMPMASK_BIT
	.comm	_AD7879_AUXVBATMASK_BIT,4,2     ; @AD7879_AUXVBATMASK_BIT
	.comm	_AD7879_GPIOALERTMASK_BIT,4,2   ; @AD7879_GPIOALERTMASK_BIT
	.comm	_AD7879_PM_DYN,4,2              ; @AD7879_PM_DYN
	.comm	_AD7879_DFR,4,2                 ; @AD7879_DFR
	.comm	_AD7879_MODE_INT,4,2            ; @AD7879_MODE_INT
	.comm	_AD7879_MODE_SEQ1,4,2           ; @AD7879_MODE_SEQ1
	.comm	_AD7879_REG_CTRL2,4,2           ; @AD7879_REG_CTRL2
	.comm	_AD7879_REG_CTRL3,4,2           ; @AD7879_REG_CTRL3
	.comm	_AD7879_REG_CTRL1,4,2           ; @AD7879_REG_CTRL1
	.no_dead_strip	_ad7879_setup
.subsections_via_symbols
