	.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, %r15
	movl	%edi, %ebx
	movq	_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	_ctx@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_2:
	leaq	L_.str.1(%rip), %r12
	movq	_hflag@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r14)
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$104, %eax
	je	LBB0_30
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_3
LBB0_6:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%ebx, %eax
	jne	LBB0_7
## %bb.15:
	movq	_stdin@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_16
LBB0_22:
	movl	(%r14), %edi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_24
LBB0_7:
	movq	(%r15,%rax,8), %rsi
	testq	%rsi, %rsi
	jne	LBB0_8
LBB0_24:
	xorl	%edi, %edi
	callq	_exit
LBB0_16:
	leaq	L_.str.3(%rip), %r15
	leaq	-48(%rbp), %r12
	movq	%r13, %rcx
	jmp	LBB0_17
LBB0_29:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-48(%rbp), %rdi
	callq	_pr_fact
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	(%r14), %edx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fgets
	movq	%r13, %rcx
	testq	%rax, %rax
	je	LBB0_22
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	movsbl	(%rcx), %edi
	callq	_isblank
	leaq	1(%rbx), %rcx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$45, %al
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$10, %al
	je	LBB0_21
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_BN_dec2bn
	testq	%rax, %rax
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_BN_hex2bn
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_29
LBB0_8:
	leaq	(%r15,%rax,8), %rbx
	leaq	L_.str.3(%rip), %r14
	leaq	-48(%rbp), %r12
	leaq	L_.str.4(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_BN_dec2bn
	testq	%rax, %rax
	je	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi
	callq	_pr_fact
	movq	8(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	je	LBB0_24
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$45, (%rsi)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_errx
	movq	(%rbx), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_BN_hex2bn
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rdx
	movl	$1, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_MAX,4,2                   ## @LINE_MAX
	.comm	_ctx,4,2                        ## @ctx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't initialise bignum"

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

	.comm	_hflag,4,2                      ## @hflag
	.comm	_optind,8,3                     ## @optind
	.comm	_stdin,4,2                      ## @stdin
L_.str.2:                               ## @.str.2
	.asciz	"stdin"

L_.str.3:                               ## @.str.3
	.asciz	"negative numbers aren't permitted."

L_.str.4:                               ## @.str.4
	.asciz	"%s: illegal numeric format."

.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _LINE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x9, x19
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_BN_CTX_new
Lloh5:
	adrp	x8, _ctx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	bl	_BN_new
	stur	x0, [x29, #-72]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh12:
	adrp	x24, _hflag@GOTPAGE
Lloh13:
	ldr	x24, [x24, _hflag@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_getopt
	cmp	w0, #104
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
	b	LBB0_4
LBB0_7:
Lloh14:
	adrp	x8, _optind@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	w8, w22
	b.ne	LBB0_11
; %bb.8:
Lloh17:
	adrp	x23, _stdin@GOTPAGE
Lloh18:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_fgets
	cbnz	x0, LBB0_13
LBB0_9:
	ldr	w0, [x23]
	bl	_ferror
	cbz	x0, LBB0_12
; %bb.10:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_12
LBB0_11:
	add	x21, x21, x8, lsl #3
	ldr	x1, [x21]
	cbnz	x1, LBB0_24
LBB0_12:
	mov	w0, #0
	bl	_exit
LBB0_13:
Lloh21:
	adrp	x21, l_.str.3@PAGE
Lloh22:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x24, x20
Lloh23:
	adrp	x22, l_.str.4@PAGE
Lloh24:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldur	x0, [x29, #-72]
	bl	_pr_fact
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_fgets
	mov	x24, x20
	cbz	x0, LBB0_9
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x24
	ldrsb	w0, [x24], #1
	bl	_isblank
	cbnz	x0, LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, #45
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, #10
	b.eq	LBB0_15
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_errx
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	x0, x29, #72
	mov	x1, x20
	bl	_BN_dec2bn
	cbnz	x0, LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	x0, x29, #72
	mov	x1, x20
	bl	_BN_hex2bn
	cbnz	x0, LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	str	x20, [sp, #-16]!
	mov	w0, #1
	mov	x1, x22
	bl	_errx
	add	sp, sp, #16
	b	LBB0_14
LBB0_24:
Lloh25:
	adrp	x19, l_.str.3@PAGE
Lloh26:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh27:
	adrp	x20, l_.str.4@PAGE
Lloh28:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	sub	x0, x29, #72
	bl	_BN_dec2bn
	cbz	x0, LBB0_29
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	ldur	x0, [x29, #-72]
	bl	_pr_fact
	ldr	x1, [x21, #8]!
	cbz	x1, LBB0_12
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1]
	cmp	w8, #45
	b.ne	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_errx
	ldr	x1, [x21]
	b	LBB0_25
LBB0_29:                                ;   in Loop: Header=BB0_27 Depth=1
	ldr	x1, [x21]
	sub	x0, x29, #72
	bl	_BN_hex2bn
	cbnz	x0, LBB0_26
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x8, [x21]
	str	x8, [sp, #-16]!
	mov	w0, #1
	mov	x1, x20
	bl	_errx
	add	sp, sp, #16
	b	LBB0_26
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_MAX,4,2                   ; @LINE_MAX
	.comm	_ctx,4,2                        ; @ctx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't initialise bignum"

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

	.comm	_hflag,4,2                      ; @hflag
	.comm	_optind,8,3                     ; @optind
	.comm	_stdin,4,2                      ; @stdin
l_.str.2:                               ; @.str.2
	.asciz	"stdin"

l_.str.3:                               ; @.str.3
	.asciz	"negative numbers aren't permitted."

l_.str.4:                               ; @.str.4
	.asciz	"%s: illegal numeric format."

.subsections_via_symbols
