	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solenoid_fire                  ## -- Begin function solenoid_fire
	.p2align	4, 0x90
_solenoid_fire:                         ## @solenoid_fire
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_haptic_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_solenoid_on@GOTPCREL(%rip), %rax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%rax)
	jne	LBB0_4
LBB0_2:
	movq	_solenoid_buzzing@GOTPCREL(%rip), %rdx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	cmpl	$0, (%rdx)
	je	LBB0_5
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	movl	$1, (%rax)
	movl	$1, (%rdx)
	xorl	%eax, %eax
	callq	_timer_read
	movq	_solenoid_start@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SOLENOID_PIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_writePinHigh                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_haptic_config,8,3              ## @haptic_config
	.comm	_solenoid_on,4,2                ## @solenoid_on
	.comm	_solenoid_buzzing,4,2           ## @solenoid_buzzing
	.comm	_solenoid_start,4,2             ## @solenoid_start
	.comm	_SOLENOID_PIN,4,2               ## @SOLENOID_PIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solenoid_fire                  ; -- Begin function solenoid_fire
	.p2align	2
_solenoid_fire:                         ; @solenoid_fire
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _haptic_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _haptic_config@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _solenoid_on@GOTPAGE
Lloh4:
	ldr	x8, [x8, _solenoid_on@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	x9, #0
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x10, _solenoid_buzzing@GOTPAGE
Lloh6:
	ldr	x10, [x10, _solenoid_buzzing@GOTPAGEOFF]
	ldr	w11, [x10]
	cmp	x9, #0
	ccmp	w11, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #1
	str	w9, [x8]
	str	w9, [x10]
	bl	_timer_read
Lloh7:
	adrp	x8, _solenoid_start@GOTPAGE
Lloh8:
	ldr	x8, [x8, _solenoid_start@GOTPAGEOFF]
Lloh9:
	str	w0, [x8]
Lloh10:
	adrp	x8, _SOLENOID_PIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOLENOID_PIN@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_writePinHigh
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_haptic_config,8,3              ; @haptic_config
	.comm	_solenoid_on,4,2                ; @solenoid_on
	.comm	_solenoid_buzzing,4,2           ; @solenoid_buzzing
	.comm	_solenoid_start,4,2             ; @solenoid_start
	.comm	_SOLENOID_PIN,4,2               ; @SOLENOID_PIN
.subsections_via_symbols
