	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max7359_initialize
_max7359_initialize:                    ## @max7359_initialize
	.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	%rdi, %rbx
	movq	_MAX7359_REG_CONFIG@GOTPCREL(%rip), %rax
	movq	_MAX7359_CFG_INTERRUPT@GOTPCREL(%rip), %rcx
	movq	_MAX7359_CFG_KEY_RELEASE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_MAX7359_CFG_WAKEUP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_max7359_write_reg
	movq	_MAX7359_REG_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$31, %edx
	callq	_max7359_write_reg
	movq	_MAX7359_REG_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_max7359_write_reg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_max7359_fall_deepsleep         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX7359_REG_CONFIG,4,2         ## @MAX7359_REG_CONFIG
	.comm	_MAX7359_CFG_INTERRUPT,4,2      ## @MAX7359_CFG_INTERRUPT
	.comm	_MAX7359_CFG_KEY_RELEASE,4,2    ## @MAX7359_CFG_KEY_RELEASE
	.comm	_MAX7359_CFG_WAKEUP,4,2         ## @MAX7359_CFG_WAKEUP
	.comm	_MAX7359_REG_DEBOUNCE,4,2       ## @MAX7359_REG_DEBOUNCE
	.comm	_MAX7359_REG_INTERRUPT,4,2      ## @MAX7359_REG_INTERRUPT
	.no_dead_strip	_max7359_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max7359_initialize
_max7359_initialize:                    ; @max7359_initialize
	.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, _MAX7359_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX7359_REG_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MAX7359_CFG_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX7359_CFG_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MAX7359_CFG_KEY_RELEASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX7359_CFG_KEY_RELEASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MAX7359_CFG_WAKEUP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX7359_CFG_WAKEUP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_max7359_write_reg
Lloh12:
	adrp	x8, _MAX7359_REG_DEBOUNCE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX7359_REG_DEBOUNCE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #31
	bl	_max7359_write_reg
Lloh15:
	adrp	x8, _MAX7359_REG_INTERRUPT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX7359_REG_INTERRUPT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_max7359_write_reg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_max7359_fall_deepsleep
	.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	_MAX7359_REG_CONFIG,4,2         ; @MAX7359_REG_CONFIG
	.comm	_MAX7359_CFG_INTERRUPT,4,2      ; @MAX7359_CFG_INTERRUPT
	.comm	_MAX7359_CFG_KEY_RELEASE,4,2    ; @MAX7359_CFG_KEY_RELEASE
	.comm	_MAX7359_CFG_WAKEUP,4,2         ; @MAX7359_CFG_WAKEUP
	.comm	_MAX7359_REG_DEBOUNCE,4,2       ; @MAX7359_REG_DEBOUNCE
	.comm	_MAX7359_REG_INTERRUPT,4,2      ; @MAX7359_REG_INTERRUPT
	.no_dead_strip	_max7359_initialize
.subsections_via_symbols
