	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7793_check_platform_data
_ad7793_check_platform_data:            ## @ad7793_check_platform_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_AD7793_IEXEC1_IEXEC2_IOUT1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_AD7793_IEXEC1_IEXEC2_IOUT2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
LBB0_4:
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_AD7793_FLAG_HAS_CLKSEL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	16(%rsi), %rax
	movq	_AD7793_CLK_SRC_INT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_12
LBB0_6:
	movq	_AD7793_FLAG_HAS_REFSEL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	24(%rsi), %rax
	movq	_AD7793_REFSEL_REFIN1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_12
LBB0_8:
	movq	_AD7793_FLAG_HAS_VBIAS@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	32(%rsi), %rax
	movq	_AD7793_BIAS_VOLTAGE_DISABLED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_12
LBB0_10:
	movq	_AD7793_HAS_EXITATION_CURRENT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_11
LBB0_13:
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rsi), %rax
	movq	_AD7793_IX_10uA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_AD7793_IX_210uA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
	jmp	LBB0_4
LBB0_11:
	movq	8(%rsi), %rcx
	movq	_AD7793_IX_DISABLED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7793_IEXEC1_IEXEC2_IOUT1,8,3 ## @AD7793_IEXEC1_IEXEC2_IOUT1
	.comm	_AD7793_IEXEC1_IEXEC2_IOUT2,8,3 ## @AD7793_IEXEC1_IEXEC2_IOUT2
	.comm	_AD7793_IX_10uA,8,3             ## @AD7793_IX_10uA
	.comm	_AD7793_IX_210uA,8,3            ## @AD7793_IX_210uA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AD7793_FLAG_HAS_CLKSEL,4,2     ## @AD7793_FLAG_HAS_CLKSEL
	.comm	_AD7793_CLK_SRC_INT,8,3         ## @AD7793_CLK_SRC_INT
	.comm	_AD7793_FLAG_HAS_REFSEL,4,2     ## @AD7793_FLAG_HAS_REFSEL
	.comm	_AD7793_REFSEL_REFIN1,8,3       ## @AD7793_REFSEL_REFIN1
	.comm	_AD7793_FLAG_HAS_VBIAS,4,2      ## @AD7793_FLAG_HAS_VBIAS
	.comm	_AD7793_BIAS_VOLTAGE_DISABLED,8,3 ## @AD7793_BIAS_VOLTAGE_DISABLED
	.comm	_AD7793_HAS_EXITATION_CURRENT,4,2 ## @AD7793_HAS_EXITATION_CURRENT
	.comm	_AD7793_IX_DISABLED,8,3         ## @AD7793_IX_DISABLED
	.no_dead_strip	_ad7793_check_platform_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7793_check_platform_data
_ad7793_check_platform_data:            ; @ad7793_check_platform_data
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _AD7793_IEXEC1_IEXEC2_IOUT1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AD7793_IEXEC1_IEXEC2_IOUT1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _AD7793_IEXEC1_IEXEC2_IOUT2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AD7793_IEXEC1_IEXEC2_IOUT2@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x1, #8]
Lloh6:
	adrp	x9, _AD7793_IX_10uA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AD7793_IX_10uA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _AD7793_IX_210uA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AD7793_IX_210uA@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
LBB0_2:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AD7793_FLAG_HAS_CLKSEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AD7793_FLAG_HAS_CLKSEL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x1, #16]
Lloh15:
	adrp	x10, _AD7793_CLK_SRC_INT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AD7793_CLK_SRC_INT@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
LBB0_4:
Lloh18:
	adrp	x9, _AD7793_FLAG_HAS_REFSEL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AD7793_FLAG_HAS_REFSEL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x1, #24]
Lloh21:
	adrp	x10, _AD7793_REFSEL_REFIN1@GOTPAGE
Lloh22:
	ldr	x10, [x10, _AD7793_REFSEL_REFIN1@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
LBB0_6:
Lloh24:
	adrp	x9, _AD7793_FLAG_HAS_VBIAS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AD7793_FLAG_HAS_VBIAS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	x9, [x1, #32]
Lloh27:
	adrp	x10, _AD7793_BIAS_VOLTAGE_DISABLED@GOTPAGE
Lloh28:
	ldr	x10, [x10, _AD7793_BIAS_VOLTAGE_DISABLED@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
LBB0_8:
Lloh30:
	adrp	x9, _AD7793_HAS_EXITATION_CURRENT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AD7793_HAS_EXITATION_CURRENT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	w0, #0
	ret
LBB0_10:
	ldr	x8, [x1, #8]
Lloh33:
	adrp	x9, _AD7793_IX_DISABLED@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AD7793_IX_DISABLED@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	ret
LBB0_12:
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7793_IEXEC1_IEXEC2_IOUT1,8,3 ; @AD7793_IEXEC1_IEXEC2_IOUT1
	.comm	_AD7793_IEXEC1_IEXEC2_IOUT2,8,3 ; @AD7793_IEXEC1_IEXEC2_IOUT2
	.comm	_AD7793_IX_10uA,8,3             ; @AD7793_IX_10uA
	.comm	_AD7793_IX_210uA,8,3            ; @AD7793_IX_210uA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AD7793_FLAG_HAS_CLKSEL,4,2     ; @AD7793_FLAG_HAS_CLKSEL
	.comm	_AD7793_CLK_SRC_INT,8,3         ; @AD7793_CLK_SRC_INT
	.comm	_AD7793_FLAG_HAS_REFSEL,4,2     ; @AD7793_FLAG_HAS_REFSEL
	.comm	_AD7793_REFSEL_REFIN1,8,3       ; @AD7793_REFSEL_REFIN1
	.comm	_AD7793_FLAG_HAS_VBIAS,4,2      ; @AD7793_FLAG_HAS_VBIAS
	.comm	_AD7793_BIAS_VOLTAGE_DISABLED,8,3 ; @AD7793_BIAS_VOLTAGE_DISABLED
	.comm	_AD7793_HAS_EXITATION_CURRENT,4,2 ; @AD7793_HAS_EXITATION_CURRENT
	.comm	_AD7793_IX_DISABLED,8,3         ; @AD7793_IX_DISABLED
	.no_dead_strip	_ad7793_check_platform_data
.subsections_via_symbols
