	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INET6_PREFIXSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_INET_PREFIXSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edx
	movq	_INET6_PREFIXSTRLEN@GOTPCREL(%rip), %r14
	cmpl	$3, %r13d
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_print_usage
	movl	(%r14), %edx
LBB0_2:
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_strncpy
	movslq	(%r14), %rax
	movb	$0, -1(%rax,%rbx)
	movq	_AF_INET6@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rsi
	callq	_parse_str
	movq	16(%r12), %rsi
	movq	%rbx, %r12
	movq	_INET_PREFIXSTRLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_strncpy
	movslq	(%rbx), %rax
	movb	$0, -1(%rax,%r12)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-88(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rsi
	callq	_parse_str
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %r14
	subq	%rdx, %r14
	addq	$32, %r14
	cmpq	$129, %r14
	jb	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_print_usage
	movq	-72(%rbp), %rdx
LBB0_4:
	movq	-64(%rbp), %r8
	cmpq	$31, %rdx
	jbe	LBB0_5
## %bb.10:
	cmpq	$127, %r8
	jbe	LBB0_11
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	notb	%bl
	andb	-56(%rbp,%rsi), %bl
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	%bl, -56(%rbp,%rsi)
	incq	%rdx
	incq	%r8
	cmpq	$32, %rdx
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r8, %rsi
	movl	%r8d, %ecx
	andb	$7, %cl
	movb	$-128, %bl
	shrb	%cl, %bl
	shrq	$3, %rsi
	movq	%rdx, %rdi
	shrq	$3, %rdi
	movl	%edx, %ecx
	andb	$7, %cl
	movzbl	-84(%rbp,%rdi), %eax
	shlb	%cl, %al
	testb	$-128, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	orb	-56(%rbp,%rsi), %bl
	jmp	LBB0_8
LBB0_9:
	movq	$32, -72(%rbp)
	movq	%r8, -64(%rbp)
	cmpq	$127, %r8
	ja	LBB0_16
LBB0_11:
	movq	%r8, %rdx
	testb	$1, %r8b
	je	LBB0_13
## %bb.12:
	movq	%r8, %rax
	shrq	$3, %rax
	movl	%r8d, %ecx
	andb	$7, %cl
	movb	$-128, %dl
	shrb	%cl, %dl
	notb	%dl
	andb	%dl, -56(%rbp,%rax)
	leaq	1(%r8), %rdx
LBB0_13:
	cmpq	$127, %r8
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	shrq	$3, %rax
	movl	%edx, %ecx
	andb	$7, %cl
	movb	$-128, %bl
	shrb	%cl, %bl
	notb	%bl
	andb	%bl, -56(%rbp,%rax)
	leaq	1(%rdx), %rcx
	movq	%rcx, %rax
	shrq	$3, %rax
	andb	$7, %cl
	movb	$-128, %bl
                                        ## kill: def $cl killed $cl killed $rcx
	shrb	%cl, %bl
	notb	%bl
	andb	%bl, -56(%rbp,%rax)
	addq	$2, %rdx
	cmpq	$128, %rdx
	jne	LBB0_14
LBB0_15:
	movq	$128, -64(%rbp)
LBB0_16:
	movl	(%r13), %edi
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_inet_ntop
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_print_error
LBB0_18:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_PREFIXSTRLEN,4,2         ## @INET6_PREFIXSTRLEN
	.comm	_INET_PREFIXSTRLEN,4,2          ## @INET_PREFIXSTRLEN
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%lu\n"

.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #48
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _INET6_PREFIXSTRLEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _INET6_PREFIXSTRLEN@GOTPAGEOFF]
	ldr	w20, [x23]
	mov	x9, x20
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh7:
	adrp	x24, _INET_PREFIXSTRLEN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _INET_PREFIXSTRLEN@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x2, x20
	cmp	w0, #3
	b.eq	LBB0_2
; %bb.1:
	bl	_print_usage
	ldr	w2, [x23]
LBB0_2:
	ldr	x1, [x21, #8]
	mov	x0, x19
	bl	_strncpy
	ldrsw	x8, [x23]
	add	x8, x8, x19
	sturb	wzr, [x8, #-1]
Lloh11:
	adrp	x23, _AF_INET6@GOTPAGE
Lloh12:
	ldr	x23, [x23, _AF_INET6@GOTPAGEOFF]
	ldr	w0, [x23]
	sub	x2, x29, #64
	sub	x3, x29, #80
	mov	x1, x19
	bl	_parse_str
	ldr	x1, [x21, #16]
	ldr	w2, [x24]
	mov	x0, x22
	bl	_strncpy
	ldrsw	x8, [x24]
	add	x8, x8, x19
	sturb	wzr, [x8, #-1]
Lloh13:
	adrp	x8, _AF_INET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	sub	x2, x29, #72
	sub	x3, x29, #88
	mov	x1, x22
	bl	_parse_str
	ldp	x9, x8, [x29, #-88]
	sub	x8, x8, x9
	add	x21, x8, #32
	cmp	x21, #129
	b.lo	LBB0_4
; %bb.3:
	bl	_print_usage
	ldur	x9, [x29, #-88]
LBB0_4:
	ldur	x8, [x29, #-80]
	cmp	x9, #31
	b.hi	LBB0_11
; %bb.5:
	sub	x10, x29, #72
	orr	x10, x10, #0x4
	mov	w11, #128
	sub	x12, x29, #64
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w15, [x12, x13]
	bic	w14, w15, w14
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	strb	w14, [x12, x13]
	add	x9, x9, #1
	add	x8, x8, #1
	cmp	x9, #32
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x13, x8, #3
	lsr	x15, x9, #3
	and	x14, x8, #0x7
	lsr	w14, w11, w14
	and	w16, w9, #0x7
	ldrb	w15, [x10, x15]
	lsl	w15, w15, w16
	tbz	w15, #7, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w15, [x12, x13]
	orr	w14, w15, w14
	b	LBB0_7
LBB0_10:
	stp	x9, x8, [x29, #-88]
LBB0_11:
	cmp	x8, #127
	b.hi	LBB0_15
; %bb.12:
	mov	w9, #128
	sub	x10, x29, #64
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsr	x11, x8, #3
	and	x12, x8, #0x7
	ldrb	w13, [x10, x11]
	lsr	w12, w9, w12
	bic	w12, w13, w12
	strb	w12, [x10, x11]
	add	x8, x8, #1
	cmp	x8, #128
	b.ne	LBB0_13
; %bb.14:
	stur	x8, [x29, #-80]
LBB0_15:
	ldr	w0, [x23]
	sub	x1, x29, #64
	mov	x2, x19
	mov	x3, x20
	bl	_inet_ntop
	cbnz	x0, LBB0_17
; %bb.16:
	bl	_print_error
LBB0_17:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_printf
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	w0, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_PREFIXSTRLEN,4,2         ; @INET6_PREFIXSTRLEN
	.comm	_INET_PREFIXSTRLEN,4,2          ; @INET_PREFIXSTRLEN
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%lu\n"

.subsections_via_symbols
