	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdsavail
_sdsavail:                              ## @sdsavail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SDS_TYPE_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	-1(%rdi), %al
	movsbq	%al, %rax
	xorq	$-128, %rax
	cmpb	$4, %al
	ja	LBB0_3
## %bb.1:
	movzbl	%al, %ecx
	movl	$27, %edx
	btl	%ecx, %edx
	jb	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, %rsi
	leaq	l_switch.table.sdsavail(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_SDS_HDR_VAR
	movq	_sh@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rax
	subq	8(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDS_TYPE_MASK,1,0              ## @SDS_TYPE_MASK
	.comm	_sh,8,3                         ## @sh
	.no_dead_strip	_sdsavail
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.sdsavail
l_switch.table.sdsavail:
	.long	8                               ## 0x8
	.long	64                              ## 0x40
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	16                              ## 0x10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdsavail
_sdsavail:                              ; @sdsavail
	.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, _SDS_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDS_TYPE_MASK@GOTPAGEOFF]
	ldurb	w9, [x0, #-1]
	ldrb	w8, [x8]
	and	w8, w8, w9
	sxtb	x8, w8
	eor	x8, x8, #0xffffffffffffff80
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	mov	w9, #27
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_3
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x1, x0
Lloh2:
	adrp	x9, l_switch.table.sdsavail@PAGE
Lloh3:
	add	x9, x9, l_switch.table.sdsavail@PAGEOFF
	ldr	w0, [x9, x8, lsl #2]
	bl	_SDS_HDR_VAR
Lloh4:
	adrp	x8, _sh@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sh@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldp	x9, x8, [x8]
	sub	x0, x9, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SDS_TYPE_MASK,1,0              ; @SDS_TYPE_MASK
	.comm	_sh,8,3                         ; @sh
	.no_dead_strip	_sdsavail
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.sdsavail
l_switch.table.sdsavail:
	.long	8                               ; 0x8
	.long	64                              ; 0x40
	.long	64                              ; 0x40
	.long	32                              ; 0x20
	.long	16                              ; 0x10

.subsections_via_symbols
