	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getbsize                       ## -- Begin function getbsize
	.p2align	4, 0x90
_getbsize:                              ## @getbsize
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	%rax, %r12
	leaq	L_.str(%rip), %rax
	movl	$512, %r14d                     ## imm = 0x200
	testq	%r12, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	cmpb	$0, (%r12)
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtol
	testq	%rax, %rax
	js	LBB0_20
## %bb.4:
	movl	$1, %r14d
	cmoveq	%r14, %rax
	movq	-56(%rbp), %rdx
	movsbl	(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.5:
	cmpb	$0, 1(%rdx)
	je	LBB0_6
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_warnx
	movl	$512, %r13d                     ## imm = 0x200
	movl	$1, %r14d
	leaq	L_.str(%rip), %r12
	jmp	LBB0_19
LBB0_1:
	movl	$512, %r13d                     ## imm = 0x200
	movq	%rax, %r12
	jmp	LBB0_21
LBB0_6:
	leal	-71(%rcx), %edx
	cmpl	$38, %edx
	ja	LBB0_7
## %bb.9:
	movabsq	$4294967297, %rsi               ## imm = 0x100000001
	btq	%rdx, %rsi
	jb	LBB0_10
## %bb.11:
	movabsq	$68719476752, %rsi              ## imm = 0x1000000010
	btq	%rdx, %rsi
	jb	LBB0_15
## %bb.12:
	movabsq	$274877907008, %rsi             ## imm = 0x4000000040
	btq	%rdx, %rsi
	jae	LBB0_7
## %bb.13:
	leaq	L_.str.4(%rip), %r12
	movl	$1048576, %r14d                 ## imm = 0x100000
	movl	$1024, %r13d                    ## imm = 0x400
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.2(%rip), %r12
	movl	$1073741824, %r14d              ## imm = 0x40000000
	movl	$1, %r13d
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.3(%rip), %r12
	movl	$1024, %r14d                    ## imm = 0x400
	movl	$1048576, %r13d                 ## imm = 0x100000
	jmp	LBB0_16
LBB0_7:
	testl	%ecx, %ecx
	jne	LBB0_14
LBB0_8:
	leaq	L_.str(%rip), %r12
	movl	$1073741824, %r13d              ## imm = 0x40000000
LBB0_16:
	cmpq	%r13, %rax
	jbe	LBB0_17
## %bb.18:
	leaq	L_.str.6(%rip), %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_19
LBB0_17:
	movq	%rax, %r13
LBB0_19:
	imulq	%r13, %r14
	cmpq	$511, %r14                      ## imm = 0x1FF
	jg	LBB0_21
LBB0_20:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$512, %r14d                     ## imm = 0x200
	movl	$512, %r13d                     ## imm = 0x200
	movq	%rbx, %r12
LBB0_21:
	leaq	_getbsize.header(%rip), %rbx
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rdi
	movl	$20, %esi
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_strlen
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%r14, (%r15)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getbsize.header,20,4 ## @getbsize.header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"BLOCKSIZE"

L_.str.2:                               ## @.str.2
	.asciz	"G"

L_.str.3:                               ## @.str.3
	.asciz	"K"

L_.str.4:                               ## @.str.4
	.asciz	"M"

L_.str.5:                               ## @.str.5
	.asciz	"%s: unknown blocksize"

L_.str.6:                               ## @.str.6
	.asciz	"maximum blocksize is %ldG"

L_.str.7:                               ## @.str.7
	.asciz	"minimum blocksize is 512"

L_.str.8:                               ## @.str.8
	.asciz	"%ld%s-blocks"

	.comm	_GB,8,3                         ## @GB
	.comm	_KB,8,3                         ## @KB
	.comm	_MAXB,8,3                       ## @MAXB
	.comm	_MB,8,3                         ## @MB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getbsize                       ; -- Begin function getbsize
	.p2align	2
_getbsize:                              ; @getbsize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_20
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_20
; %bb.2:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	tbnz	x0, #63, LBB0_19
; %bb.3:
	cmp	x0, #0
	csinc	x8, x0, xzr, ne
	ldr	x10, [sp, #8]
	ldrsb	w9, [x10]
	cbz	w9, LBB0_14
; %bb.4:
	ldrb	w10, [x10, #1]
	cbz	w10, LBB0_6
LBB0_5:
	str	x21, [sp]
Lloh2:
	adrp	x0, l_.str.5@PAGE
Lloh3:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
	mov	w22, #512
	mov	w23, #1
	b	LBB0_18
LBB0_6:
	sub	w10, w9, #71
	cmp	w10, #38
	b.hi	LBB0_13
; %bb.7:
	mov	w11, #1
	lsl	x11, x11, x10
	tst	x11, #0x100000001
	b.ne	LBB0_11
; %bb.8:
	mov	w11, #1
	lsl	x11, x11, x10
	tst	x11, #0x1000000010
	b.ne	LBB0_12
; %bb.9:
	mov	w11, #1
	lsl	x10, x11, x10
	tst	x10, #0x4000000040
	b.eq	LBB0_13
; %bb.10:
Lloh6:
	adrp	x21, l_.str.4@PAGE
Lloh7:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	w23, #1048576
	mov	w22, #1024
	b	LBB0_15
LBB0_11:
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	w23, #1073741824
	mov	w22, #1
	b	LBB0_15
LBB0_12:
Lloh10:
	adrp	x21, l_.str.3@PAGE
Lloh11:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	w23, #1024
	mov	w22, #1048576
	b	LBB0_15
LBB0_13:
	cbnz	w9, LBB0_5
LBB0_14:
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
	mov	w23, #1
	mov	w22, #1073741824
LBB0_15:
	cmp	x8, x22
	b.ls	LBB0_17
; %bb.16:
	mov	w8, #1
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warnx
	b	LBB0_18
LBB0_17:
	mov	x22, x8
LBB0_18:
	mul	x24, x22, x23
	cmp	x24, #511
	b.gt	LBB0_21
LBB0_19:
Lloh16:
	adrp	x0, l_.str.7@PAGE
Lloh17:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warnx
LBB0_20:
Lloh18:
	adrp	x21, l_.str@PAGE
Lloh19:
	add	x21, x21, l_.str@PAGEOFF
	mov	w24, #512
	mov	w22, #512
LBB0_21:
Lloh20:
	adrp	x23, _getbsize.header@PAGE
Lloh21:
	add	x23, x23, _getbsize.header@PAGEOFF
Lloh22:
	adrp	x2, l_.str.8@PAGE
Lloh23:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x23
	mov	w1, #20
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	mov	x0, x23
	bl	_strlen
	str	w0, [x20]
	str	x24, [x19]
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getbsize.header,20,0 ; @getbsize.header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"BLOCKSIZE"

l_.str.2:                               ; @.str.2
	.asciz	"G"

l_.str.3:                               ; @.str.3
	.asciz	"K"

l_.str.4:                               ; @.str.4
	.asciz	"M"

l_.str.5:                               ; @.str.5
	.asciz	"%s: unknown blocksize"

l_.str.6:                               ; @.str.6
	.asciz	"maximum blocksize is %ldG"

l_.str.7:                               ; @.str.7
	.asciz	"minimum blocksize is 512"

l_.str.8:                               ; @.str.8
	.asciz	"%ld%s-blocks"

	.comm	_GB,8,3                         ; @GB
	.comm	_KB,8,3                         ; @KB
	.comm	_MAXB,8,3                       ; @MAXB
	.comm	_MB,8,3                         ; @MB
.subsections_via_symbols
