	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DAC960_ParseLogicalDrive
_DAC960_ParseLogicalDrive:              ## @DAC960_ParseLogicalDrive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, -32(%rbp)
	decq	%rbx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rax
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_simple_strtoul
	movq	-32(%rbp), %rcx
	cmpq	%rcx, %rbx
	je	LBB0_7
## %bb.4:
	cmpb	$0, (%rcx)
	jne	LBB0_7
## %bb.5:
	movq	_DAC960_MaxLogicalDrives@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	cmpq	%rcx, %rax
	ja	LBB0_7
## %bb.6:
	movb	%al, (%r14)
	movl	$1, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC960_MaxLogicalDrives,4,2    ## @DAC960_MaxLogicalDrives
	.no_dead_strip	_DAC960_ParseLogicalDrive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DAC960_ParseLogicalDrive
_DAC960_ParseLogicalDrive:              ; @DAC960_ParseLogicalDrive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x8, #0
	str	x1, [sp, #8]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x1, x8]
	add	x8, x8, #1
	cmp	w9, #32
	b.eq	LBB0_1
; %bb.2:
	cmp	x8, #1
	b.eq	LBB0_6
; %bb.3:
	add	x8, x1, x8
	sub	x20, x8, #1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_simple_strtoul
	ldr	x8, [sp, #8]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.4:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _DAC960_MaxLogicalDrives@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAC960_MaxLogicalDrives@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	cmp	x0, x8
	b.ls	LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	strb	w0, [x19]
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DAC960_MaxLogicalDrives,4,2    ; @DAC960_MaxLogicalDrives
	.no_dead_strip	_DAC960_ParseLogicalDrive
.subsections_via_symbols
