	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slots_valid
_slots_valid:                           ## @slots_valid
	.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, %r14
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_get_and_decode_packet
	movq	_IO_GOT_PACKET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.1:
	movq	(%r14), %rbx
	movq	_GRIP_MODE_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rcx), %rsi
	movq	(%rdx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	24(%rbx), %rbx
	movq	(%rbx), %rbx
	cmpq	%rdi, %rbx
	jne	LBB0_6
## %bb.2:
	cmpq	%rdi, %rdx
	jne	LBB0_6
## %bb.3:
	cmpq	%rdi, %rcx
	jne	LBB0_6
## %bb.4:
	cmpq	%rdi, %rsi
	jne	LBB0_6
## %bb.5:
	movq	_IO_DONE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	setne	%bl
	jmp	LBB0_7
LBB0_6:
	movq	_GRIP_MODE_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	setne	%dil
	cmpq	%rax, %rsi
	setne	%sil
	cmpq	%rax, %rcx
	setne	%bl
	cmpq	%rax, %rdx
	setne	%al
	andb	%dil, %al
	andb	%sil, %bl
	andb	%al, %bl
LBB0_7:
	movzbl	%bl, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_GOT_PACKET,4,2              ## @IO_GOT_PACKET
	.comm	_GRIP_MODE_RESET,8,3            ## @GRIP_MODE_RESET
	.comm	_GRIP_MODE_NONE,8,3             ## @GRIP_MODE_NONE
	.comm	_IO_DONE,4,2                    ## @IO_DONE
	.no_dead_strip	_slots_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slots_valid
_slots_valid:                           ; @slots_valid
	.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	w1, #0
	bl	_get_and_decode_packet
Lloh0:
	adrp	x8, _IO_GOT_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_GOT_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	ldr	x10, [x19]
Lloh3:
	adrp	x8, _GRIP_MODE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRIP_MODE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x8]
	ldp	x8, x9, [x10]
	ldr	x8, [x8]
	ldr	x9, [x9]
	ldp	x11, x13, [x10, #16]
	ldr	x10, [x11]
	ldr	x11, [x13]
	cmp	x11, x12
	ccmp	x10, x12, #0, eq
	ccmp	x9, x12, #0, eq
	ccmp	x8, x12, #0, eq
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x12, _GRIP_MODE_RESET@GOTPAGE
Lloh7:
	ldr	x12, [x12, _GRIP_MODE_RESET@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	x11, x12
	ccmp	x10, x12, #4, ne
	ccmp	x9, x12, #4, ne
	ccmp	x8, x12, #4, ne
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _IO_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IO_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
LBB0_5:
	cset	w0, ne
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_GOT_PACKET,4,2              ; @IO_GOT_PACKET
	.comm	_GRIP_MODE_RESET,8,3            ; @GRIP_MODE_RESET
	.comm	_GRIP_MODE_NONE,8,3             ; @GRIP_MODE_NONE
	.comm	_IO_DONE,4,2                    ; @IO_DONE
	.no_dead_strip	_slots_valid
.subsections_via_symbols
