	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83795_tss_useful
_w83795_tss_useful:                     ## @w83795_tss_useful
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tss_map@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movslq	%esi, %r10
	movq	_TSS_MAP_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r8), %rax
	movl	(%rax,%r10,4), %ecx
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$5, %ecx
	jg	LBB0_3
## %bb.2:
	movl	(%rdi), %r9d
	jmp	LBB0_4
LBB0_3:
	movl	4(%rdi), %r9d
	addb	$-6, %cl
	movzbl	%cl, %ecx
LBB0_4:
	xorl	%eax, %eax
	btl	%ecx, %r9d
	setb	%al
LBB0_5:
	movq	8(%r8), %rcx
	movl	(%rcx,%r10,4), %ecx
	cmpl	%esi, %ecx
	je	LBB0_10
## %bb.6:
	cmpl	$6, %ecx
	jge	LBB0_7
## %bb.8:
	movl	(%rdi), %edx
	btl	%ecx, %edx
	jmp	LBB0_9
LBB0_7:
	movl	4(%rdi), %r9d
	addl	$-6, %ecx
	btl	%ecx, %r9d
LBB0_9:
	adcl	$0, %eax
LBB0_10:
	movq	16(%r8), %rcx
	movl	(%rcx,%r10,4), %ecx
	cmpl	%esi, %ecx
	je	LBB0_15
## %bb.11:
	cmpl	$6, %ecx
	jge	LBB0_12
## %bb.13:
	movl	(%rdi), %edx
	jmp	LBB0_14
LBB0_12:
	movl	4(%rdi), %edx
	addl	$-6, %ecx
LBB0_14:
	btl	%ecx, %edx
	adcl	$0, %eax
LBB0_15:
	movq	24(%r8), %rcx
	movl	(%rcx,%r10,4), %ecx
	cmpl	%esi, %ecx
	je	LBB0_20
## %bb.16:
	cmpl	$6, %ecx
	jge	LBB0_17
## %bb.18:
	movl	(%rdi), %edx
	jmp	LBB0_19
LBB0_17:
	movl	4(%rdi), %edx
	addl	$-6, %ecx
LBB0_19:
	btl	%ecx, %edx
	adcl	$0, %eax
LBB0_20:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tss_map,8,3                    ## @tss_map
	.comm	_TSS_MAP_RESERVED,4,2           ## @TSS_MAP_RESERVED
	.no_dead_strip	_w83795_tss_useful
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83795_tss_useful
_w83795_tss_useful:                     ; @w83795_tss_useful
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _tss_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tss_map@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _TSS_MAP_RESERVED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TSS_MAP_RESERVED@GOTPAGEOFF]
	sxtw	x11, w1
Lloh5:
	ldr	w10, [x8]
	ldr	x8, [x9]
	ldr	w8, [x8, w1, sxtw #2]
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_6
LBB0_2:
	cmp	w8, #5
	b.gt	LBB0_4
; %bb.3:
	ldr	w12, [x0]
	b	LBB0_5
LBB0_4:
	ldr	w12, [x0, #4]
	sub	w8, w8, #6
LBB0_5:
	lsr	w8, w12, w8
	and	w8, w8, #0x1
LBB0_6:
	ldr	x12, [x9, #8]
	ldr	w12, [x12, x11, lsl #2]
	cmp	w12, w10
	b.eq	LBB0_11
; %bb.7:
	subs	w13, w12, #6
	b.ge	LBB0_9
; %bb.8:
	ldr	w13, [x0]
	lsr	w12, w13, w12
	b	LBB0_10
LBB0_9:
	ldr	w12, [x0, #4]
	lsr	w12, w12, w13
LBB0_10:
	and	w12, w12, #0x1
	add	w8, w12, w8
LBB0_11:
	ldr	x12, [x9, #16]
	ldr	w12, [x12, x11, lsl #2]
	cmp	w12, w10
	b.eq	LBB0_16
; %bb.12:
	subs	w13, w12, #6
	b.ge	LBB0_14
; %bb.13:
	ldr	w13, [x0]
	lsr	w12, w13, w12
	b	LBB0_15
LBB0_14:
	ldr	w12, [x0, #4]
	lsr	w12, w12, w13
LBB0_15:
	and	w12, w12, #0x1
	add	w8, w12, w8
LBB0_16:
	ldr	x9, [x9, #24]
	ldr	w9, [x9, x11, lsl #2]
	cmp	w9, w10
	b.eq	LBB0_21
; %bb.17:
	subs	w10, w9, #6
	b.ge	LBB0_19
; %bb.18:
	ldr	w10, [x0]
	lsr	w9, w10, w9
	b	LBB0_20
LBB0_19:
	ldr	w9, [x0, #4]
	lsr	w9, w9, w10
LBB0_20:
	and	w9, w9, #0x1
	add	w8, w9, w8
LBB0_21:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tss_map,8,3                    ; @tss_map
	.comm	_TSS_MAP_RESERVED,4,2           ; @TSS_MAP_RESERVED
	.no_dead_strip	_w83795_tss_useful
.subsections_via_symbols
