	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max1363_initial_setup
_max1363_initial_setup:                 ## @max1363_initial_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MAX1363_SETUP_INT_CLOCK@GOTPCREL(%rip), %rcx
	movq	_MAX1363_SETUP_UNIPOLAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_MAX1363_SETUP_NORESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rdi, %rbx
	movl	%eax, (%rdi)
	cmpq	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	_MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	jmp	LBB0_3
LBB0_1:
	movq	_MAX1363_SETUP_POWER_UP_INT_REF@GOTPCREL(%rip), %rcx
	movq	_MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
LBB0_3:
	orl	%eax, %edi
	movl	%edi, (%rbx)
	callq	_MAX1363_SETUP_BYTE
	movl	%eax, (%rbx)
	movq	_max1363_mode_table@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movl	4(%rbx), %edi
	callq	_MAX1363_CONFIG_BYTE
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_max1363_set_scan_mode          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX1363_SETUP_INT_CLOCK,4,2    ## @MAX1363_SETUP_INT_CLOCK
	.comm	_MAX1363_SETUP_UNIPOLAR,4,2     ## @MAX1363_SETUP_UNIPOLAR
	.comm	_MAX1363_SETUP_NORESET,4,2      ## @MAX1363_SETUP_NORESET
	.comm	_MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF,4,2 ## @MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF
	.comm	_MAX1363_SETUP_POWER_UP_INT_REF,4,2 ## @MAX1363_SETUP_POWER_UP_INT_REF
	.comm	_MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT,4,2 ## @MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT
	.comm	_max1363_mode_table,8,3         ## @max1363_mode_table
	.no_dead_strip	_max1363_initial_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max1363_initial_setup
_max1363_initial_setup:                 ; @max1363_initial_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, _MAX1363_SETUP_INT_CLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX1363_SETUP_INT_CLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MAX1363_SETUP_UNIPOLAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX1363_SETUP_UNIPOLAR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MAX1363_SETUP_NORESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX1363_SETUP_NORESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
Lloh9:
	adrp	x9, _MAX1363_SETUP_POWER_UP_INT_REF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX1363_SETUP_POWER_UP_INT_REF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh15:
	adrp	x10, _MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF@GOTPAGEOFF]
	ldr	x11, [x0, #24]
Lloh17:
	ldr	w10, [x10]
	cmp	x11, #0
	csel	w9, w9, w10, eq
	orr	w0, w9, w8
	str	w0, [x19]
	bl	_MAX1363_SETUP_BYTE
	str	w0, [x19]
Lloh18:
	adrp	x8, _max1363_mode_table@GOTPAGE
Lloh19:
	ldr	x8, [x8, _max1363_mode_table@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	str	x8, [x19, #16]
	ldr	w0, [x19, #4]
	bl	_MAX1363_CONFIG_BYTE
	str	w0, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_max1363_set_scan_mode
	.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	_MAX1363_SETUP_INT_CLOCK,4,2    ; @MAX1363_SETUP_INT_CLOCK
	.comm	_MAX1363_SETUP_UNIPOLAR,4,2     ; @MAX1363_SETUP_UNIPOLAR
	.comm	_MAX1363_SETUP_NORESET,4,2      ; @MAX1363_SETUP_NORESET
	.comm	_MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF,4,2 ; @MAX1363_SETUP_AIN3_IS_REF_EXT_TO_REF
	.comm	_MAX1363_SETUP_POWER_UP_INT_REF,4,2 ; @MAX1363_SETUP_POWER_UP_INT_REF
	.comm	_MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT,4,2 ; @MAX1363_SETUP_AIN3_IS_AIN3_REF_IS_INT
	.comm	_max1363_mode_table,8,3         ; @max1363_mode_table
	.no_dead_strip	_max1363_initial_setup
.subsections_via_symbols
