	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_netjet_s
_reset_netjet_s:                        ## @reset_netjet_s
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$255, (%rdi)
	movq	_NETJET_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	16(%rbx), %rdi
	movl	$255, %esi
	callq	_byteout
	movl	$10, %edi
	callq	_mdelay
	xorl	%esi, %esi
	cmpq	$0, 32(%rbx)
	setne	%sil
	shll	$6, %esi
	movl	%esi, (%rbx)
	movq	(%r14), %rdi
	addq	16(%rbx), %rdi
	callq	_byteout
	movl	$10, %edi
	callq	_mdelay
	movl	$0, 4(%rbx)
	movq	$0, 24(%rbx)
	movq	_NETJET_AUXCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movq	_NETJET_ISACIRQ@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	notl	%esi
	callq	_byteout
	movq	_NETJET_IRQMASK1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movl	(%r14), %esi
	callq	_byteout
	movq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_byteout                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETJET_CTRL,8,3                ## @NETJET_CTRL
	.comm	_NETJET_AUXCTRL,8,3             ## @NETJET_AUXCTRL
	.comm	_NETJET_ISACIRQ,4,2             ## @NETJET_ISACIRQ
	.comm	_NETJET_IRQMASK1,8,3            ## @NETJET_IRQMASK1
	.no_dead_strip	_reset_netjet_s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_netjet_s
_reset_netjet_s:                        ; @reset_netjet_s
	.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
	mov	w8, #255
	str	w8, [x0]
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x20, _NETJET_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NETJET_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	mov	w1, #255
	bl	_byteout
	mov	w0, #10
	bl	_mdelay
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w8, ne
	lsl	w1, w8, #6
	str	w1, [x19]
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_byteout
	mov	w0, #10
	bl	_mdelay
	str	wzr, [x19, #4]
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, _NETJET_AUXCTRL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETJET_AUXCTRL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh5:
	adrp	x20, _NETJET_ISACIRQ@GOTPAGE
Lloh6:
	ldr	x20, [x20, _NETJET_ISACIRQ@GOTPAGEOFF]
	ldr	w8, [x20]
	mvn	w1, w8
	bl	_byteout
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x9, _NETJET_IRQMASK1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NETJET_IRQMASK1@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x0, x9, x8
	ldr	w1, [x20]
	bl	_byteout
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_byteout
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NETJET_CTRL,8,3                ; @NETJET_CTRL
	.comm	_NETJET_AUXCTRL,8,3             ; @NETJET_AUXCTRL
	.comm	_NETJET_ISACIRQ,4,2             ; @NETJET_ISACIRQ
	.comm	_NETJET_IRQMASK1,8,3            ; @NETJET_IRQMASK1
	.no_dead_strip	_reset_netjet_s
.subsections_via_symbols
