	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str2sectors
_str2sectors:                           ## @str2sectors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoul
	movq	%rax, %rcx
	movq	-16(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.1:
	movsbl	(%rax), %edx
	cmpl	$74, %edx
	jg	LBB0_5
## %bb.2:
	testb	%dl, %dl
	je	LBB0_7
## %bb.3:
	cmpb	$71, %dl
	jne	LBB0_9
## %bb.4:
	movl	$1073741824, %eax               ## imm = 0x40000000
	jmp	LBB0_12
LBB0_7:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_10
LBB0_5:
	cmpb	$75, %dl
	je	LBB0_6
## %bb.8:
	cmpb	$77, %dl
	jne	LBB0_9
## %bb.11:
	movl	$1048576, %eax                  ## imm = 0x100000
	jmp	LBB0_12
LBB0_9:
	movq	_current_line_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_10:
	movq	_NO_DISK_SECTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_16
LBB0_6:
	movl	$1024, %eax                     ## imm = 0x400
LBB0_12:
	movq	_secsize@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	cmpq	%rsi, %rax
	jb	LBB0_13
## %bb.14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
LBB0_15:
	imulq	%rcx, %rax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR line %d: unexpected size: '%s'"

	.comm	_current_line_number,4,2        ## @current_line_number
	.comm	_NO_DISK_SECTORS,8,3            ## @NO_DISK_SECTORS
	.comm	_secsize,8,3                    ## @secsize
L_.str.1:                               ## @.str.1
	.asciz	"ERROR line %d: unexpected modifier: %c (not K/M/G)"

	.no_dead_strip	_str2sectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str2sectors
_str2sectors:                           ; @str2sectors
	.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, x0
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoul
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.1:
	ldrb	w8, [x8]
	cmp	w8, #74
	b.gt	LBB0_6
; %bb.2:
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w8, #71
	b.ne	LBB0_9
; %bb.4:
	mov	w8, #1073741824
	b	LBB0_12
LBB0_5:
Lloh0:
	adrp	x8, _current_line_number@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_line_number@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	x19, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
	cmp	w8, #75
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #77
	b.ne	LBB0_9
; %bb.8:
	mov	w8, #1048576
	b	LBB0_12
LBB0_9:
	sxtb	w8, w8
Lloh5:
	adrp	x9, _current_line_number@GOTPAGE
Lloh6:
	ldr	x9, [x9, _current_line_number@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_warnx
Lloh10:
	adrp	x8, _NO_DISK_SECTORS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NO_DISK_SECTORS@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	b	LBB0_13
LBB0_11:
	mov	w8, #1024
LBB0_12:
Lloh13:
	adrp	x9, _secsize@GOTPAGE
Lloh14:
	ldr	x9, [x9, _secsize@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	udiv	x8, x8, x9
	mul	x0, x8, x0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR line %d: unexpected size: '%s'"

	.comm	_current_line_number,4,2        ; @current_line_number
	.comm	_NO_DISK_SECTORS,8,3            ; @NO_DISK_SECTORS
	.comm	_secsize,8,3                    ; @secsize
l_.str.1:                               ; @.str.1
	.asciz	"ERROR line %d: unexpected modifier: %c (not K/M/G)"

	.no_dead_strip	_str2sectors
.subsections_via_symbols
