	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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, %r14
	movl	%edi, %ebx
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -52(%rbp)
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r12
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_err
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$113, %eax
	jle	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$114, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$115, %eax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_expand_number
	testl	%eax, %eax
	je	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$108, %eax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	leaq	-48(%rbp), %rsi
	callq	_expand_number
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	leaq	-52(%rbp), %rsi
	callq	_expand_number
	testl	%eax, %eax
	je	LBB0_1
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_14:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %ebx
	cmpl	$1, %ebx
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_usage
LBB0_16:
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	setne	%dl
	movl	-52(%rbp), %esi
	testl	%esi, %esi
	setne	%al
	andb	%dl, %al
	movl	-48(%rbp), %edi
	cmpb	$1, %al
	jne	LBB0_21
## %bb.17:
	testl	%edi, %edi
	je	LBB0_21
## %bb.18:
	imull	%esi, %edi
	cmpl	%edi, %ecx
	je	LBB0_42
## %bb.19:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_20
LBB0_21:
	testl	%edi, %edi
	sete	%dl
	andb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_25
## %bb.22:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	testl	%edx, %edx
	je	LBB0_24
## %bb.23:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movl	-44(%rbp), %ecx
	movl	-52(%rbp), %esi
LBB0_24:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, -48(%rbp)
	jmp	LBB0_42
LBB0_25:
	testl	%ecx, %ecx
	setne	%dl
	testl	%esi, %esi
	sete	%al
	andb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_29
## %bb.26:
	testl	%edi, %edi
	je	LBB0_29
## %bb.27:
	movl	%ecx, %eax
	cltd
	idivl	%edi
	testl	%edx, %edx
	je	LBB0_42
## %bb.28:
	leaq	L_.str.6(%rip), %rsi
LBB0_20:
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_42:
	movq	(%r14,%r15,8), %rdi
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %edx
	callq	_fifolog_create
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_44:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	testl	%edi, %edi
	sete	%dl
	andb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_32
## %bb.30:
	movq	_DEF_RECSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, -48(%rbp)
	movl	%ecx, %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	je	LBB0_42
## %bb.31:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_42
LBB0_32:
	testl	%esi, %esi
	setne	%dl
	testl	%ecx, %ecx
	sete	%al
	andb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_35
## %bb.33:
	testl	%edi, %edi
	je	LBB0_35
## %bb.34:
	imull	%esi, %edi
	movl	%edi, -44(%rbp)
	jmp	LBB0_42
LBB0_35:
	testl	%edi, %edi
	sete	%dl
	andb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_37
## %bb.36:
	movq	_DEF_RECSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	imull	%eax, %esi
	movl	%esi, -44(%rbp)
	jmp	LBB0_42
LBB0_37:
	orl	%esi, %ecx
	sete	%al
	jne	LBB0_40
## %bb.38:
	testl	%edi, %edi
	je	LBB0_40
## %bb.39:
	movq	_DEF_RECCNT@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	movl	%edi, -44(%rbp)
	jmp	LBB0_42
LBB0_40:
	testl	%edi, %edi
	sete	%cl
	andb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_42
## %bb.41:
	movq	_DEF_RECSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_DEF_RECCNT@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l:r:s:"

	.comm	_optarg,4,2                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't parse -l argument"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't parse -r argument"

L_.str.3:                               ## @.str.3
	.asciz	"Couldn't parse -s argument"

	.comm	_optind,8,3                     ## @optind
L_.str.4:                               ## @.str.4
	.asciz	"Inconsistent -l, -r and -s values"

L_.str.5:                               ## @.str.5
	.asciz	"Inconsistent -r and -s values (gives remainder)"

L_.str.6:                               ## @.str.6
	.asciz	"-s arg not divisible by -l arg"

	.comm	_DEF_RECSIZE,4,2                ## @DEF_RECSIZE
L_.str.7:                               ## @.str.7
	.asciz	"-s arg not divisible by %jd"

	.comm	_DEF_RECCNT,4,2                 ## @DEF_RECCNT
L_.str.8:                               ## @.str.8
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	str	wzr, [sp, #20]
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, _optarg@GOTPAGE
Lloh5:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #113
	b.le	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #114
	b.eq	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #115
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	add	x1, sp, #28
	bl	_expand_number
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x24
	bl	_err
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #108
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	add	x1, sp, #24
	bl	_expand_number
	cbz	w0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x22
	bl	_err
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	add	x1, sp, #20
	bl	_expand_number
	cbz	w0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_err
	b	LBB0_3
LBB0_13:
Lloh10:
	adrp	x8, _optind@GOTPAGE
Lloh11:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	sub	w8, w20, w21
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.14:
	bl	_usage
LBB0_15:
	ldp	w10, w8, [sp, #24]
	cmp	w8, #0
	ldr	w9, [sp, #20]
	ccmp	w9, #0, #4, ne
	cset	w11, ne
	cmp	w11, #1
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_20
; %bb.16:
	cmp	w10, #0
	cset	w12, eq
	and	w11, w11, w12
	cmp	w11, #1
	b.ne	LBB0_22
; %bb.17:
	sdiv	w10, w8, w9
	msub	w10, w10, w9, w8
	cbz	w10, LBB0_19
; %bb.18:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [sp, #28]
	ldr	w9, [sp, #20]
LBB0_19:
	sdiv	w8, w8, w9
	str	w8, [sp, #24]
	b	LBB0_30
LBB0_20:
	mul	w9, w10, w9
	cmp	w8, w9
	b.eq	LBB0_30
; %bb.21:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_29
LBB0_22:
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	cset	w11, eq
	b.ne	LBB0_26
; %bb.23:
	cbz	w10, LBB0_26
; %bb.24:
	sdiv	w9, w8, w10
	msub	w8, w9, w10, w8
	cbz	w8, LBB0_30
; %bb.25:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_26:
	cmp	w10, #0
	cset	w12, eq
	and	w11, w11, w12
	cmp	w11, #1
	b.ne	LBB0_33
; %bb.27:
Lloh19:
	adrp	x9, _DEF_RECSIZE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DEF_RECSIZE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	str	w9, [sp, #24]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cbz	w8, LBB0_30
; %bb.28:
	str	x9, [sp]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_29:
	mov	w0, #1
	bl	_errx
LBB0_30:
	ldr	x0, [x19, x21, lsl #3]
	ldp	w2, w1, [sp, #24]
	bl	_fifolog_create
	cbz	x0, LBB0_32
; %bb.31:
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_32:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_33:
	cmp	w8, #0
	ccmp	w9, #0, #4, eq
	cset	w11, ne
	b.eq	LBB0_36
; %bb.34:
	cbz	w10, LBB0_36
; %bb.35:
	mul	w8, w10, w9
	b	LBB0_43
LBB0_36:
	cmp	w10, #0
	cset	w12, eq
	and	w11, w11, w12
	cmp	w11, #1
	b.ne	LBB0_38
; %bb.37:
Lloh26:
	adrp	x8, _DEF_RECSIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DEF_RECSIZE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	mul	w8, w8, w9
	b	LBB0_43
LBB0_38:
	orr	w9, w8, w9
	cmp	w9, #0
	cset	w8, eq
	cbnz	w9, LBB0_41
; %bb.39:
	cbz	w10, LBB0_41
; %bb.40:
Lloh29:
	adrp	x8, _DEF_RECCNT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DEF_RECCNT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	mul	w8, w8, w10
	b	LBB0_43
LBB0_41:
	cmp	w10, #0
	cset	w9, eq
	and	w8, w8, w9
	cmp	w8, #1
	b.ne	LBB0_30
; %bb.42:
Lloh32:
	adrp	x8, _DEF_RECSIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DEF_RECSIZE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh35:
	adrp	x9, _DEF_RECCNT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DEF_RECCNT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	mul	w8, w9, w8
LBB0_43:
	str	w8, [sp, #28]
	b	LBB0_30
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l:r:s:"

	.comm	_optarg,4,2                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't parse -l argument"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't parse -r argument"

l_.str.3:                               ; @.str.3
	.asciz	"Couldn't parse -s argument"

	.comm	_optind,8,3                     ; @optind
l_.str.4:                               ; @.str.4
	.asciz	"Inconsistent -l, -r and -s values"

l_.str.5:                               ; @.str.5
	.asciz	"Inconsistent -r and -s values (gives remainder)"

l_.str.6:                               ; @.str.6
	.asciz	"-s arg not divisible by -l arg"

	.comm	_DEF_RECSIZE,4,2                ; @DEF_RECSIZE
l_.str.7:                               ; @.str.7
	.asciz	"-s arg not divisible by %jd"

	.comm	_DEF_RECCNT,4,2                 ; @DEF_RECCNT
l_.str.8:                               ; @.str.8
	.asciz	"%s"

.subsections_via_symbols
