	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode2
_decode2:                               ## @decode2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	incl	%r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_base64@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_infp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	leaq	6(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	13(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_infp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_base64@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	leaq	1(%rax), %r12
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movb	$0, (%r13,%rax)
	decq	%rax
	je	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13,%rax), %ecx
	cmpb	$13, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpb	$10, %cl
	je	LBB0_8
## %bb.12:
	movq	%r14, %rdi
	callq	_setmode
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_getmode
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_free
	movq	_sflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.17:
	cmpb	$126, (%r12)
	jne	LBB0_27
## %bb.18:
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_27
## %bb.19:
	movq	%rax, %r14
	movb	$0, (%rax)
	addq	$2, %r13
	movq	%r13, %rdi
	callq	_getpwnam
	movb	$47, (%r14)
	testq	%rax, %rax
	je	LBB0_27
## %bb.20:
	movq	%rax, %r13
	movq	(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	%rax, %r12
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jbe	LBB0_21
## %bb.22:
	movq	%r14, %rdi
	callq	_strlen
	leaq	(%rax,%r12), %rcx
	cmpq	%r15, %rcx
	jbe	LBB0_24
## %bb.23:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_53
LBB0_13:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
LBB0_14:
	callq	_warnx
	movl	$1, %eax
	jmp	LBB0_53
LBB0_26:
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmovneq	%rcx, %r12
LBB0_27:
	movq	_oflag@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_29
## %bb.28:
	movq	_outfile@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
LBB0_29:
	movq	_pflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
LBB0_31:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_outfp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_47:
	movq	_base64@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_52
## %bb.48:
	xorl	%eax, %eax
	callq	_base64_decode
	jmp	LBB0_53
LBB0_30:
	movq	_outfile@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_O_EXCL@GOTPCREL(%rip), %r12
	orl	(%r12), %ebx
	movq	(%r14), %rdi
	leaq	-80(%rbp), %rsi
	callq	_lstat
	testq	%rax, %rax
	je	LBB0_33
## %bb.50:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
LBB0_45:
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	andl	$438, %edx                      ## imm = 0x1B6
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_51
## %bb.46:
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edi
	callq	_fdopen
	movq	_outfp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_47
LBB0_51:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	leaq	L_.str.5(%rip), %rdi
LBB0_42:
	callq	_warn
	movl	$1, %eax
	jmp	LBB0_53
LBB0_52:
	xorl	%eax, %eax
	callq	_uu_decode
LBB0_53:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_55
## %bb.54:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.34:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rcx
	leaq	L_.str.5(%rip), %rsi
	callq	_warnc
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_21:
	movq	%r14, %rbx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_35:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-80(%rbp), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_36
## %bb.39:
	movq	(%r14), %rdi
	callq	_unlink
	testl	%eax, %eax
	je	LBB0_45
## %bb.40:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_45
## %bb.41:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_42
LBB0_24:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_memmove
	movq	(%r13), %rsi
LBB0_25:
	subq	%r12, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%rbx, %r12
	jmp	LBB0_27
LBB0_36:
	cmpl	$130, %eax
	jne	LBB0_43
## %bb.37:
	movq	_EISDIR@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_43:
	cmpq	$0, (%r15)
	je	LBB0_49
## %bb.44:
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, %ebx
	jmp	LBB0_45
LBB0_49:
	movq	_EEXIST@GOTPCREL(%rip), %rax
LBB0_38:
	movl	(%rax), %edi
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rcx
	leaq	L_.str.5(%rip), %rsi
	callq	_warnc
	movl	$1, %eax
	jmp	LBB0_53
LBB0_55:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_base64,4,2                     ## @base64
	.comm	_infp,4,2                       ## @infp
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"begin-base64 "

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

L_.str.2:                               ## @.str.2
	.asciz	"%s: unable to parse file mode"

	.comm	_infile,4,2                     ## @infile
	.comm	_sflag,8,3                      ## @sflag
L_.str.3:                               ## @.str.3
	.asciz	"%s: bad output filename"

	.comm	_oflag,8,3                      ## @oflag
	.comm	_outfile,8,3                    ## @outfile
	.comm	_pflag,8,3                      ## @pflag
L_.str.4:                               ## @.str.4
	.asciz	"/dev/stdout"

	.comm	_stdout,8,3                     ## @stdout
	.comm	_outfp,8,3                      ## @outfp
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_iflag,8,3                      ## @iflag
	.comm	_EEXIST,4,2                     ## @EEXIST
L_.str.5:                               ## @.str.5
	.asciz	"%s: %s"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.6:                               ## @.str.6
	.asciz	"%s: unlink %s"

	.comm	_EISDIR,4,2                     ## @EISDIR
L_.str.7:                               ## @.str.7
	.asciz	"w"

	.no_dead_strip	_decode2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode2
_decode2:                               ; @decode2
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x8, sp
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w20, w8, #1
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _base64@GOTPAGE
Lloh9:
	ldr	x8, [x8, _base64@GOTPAGEOFF]
Lloh10:
	str	wzr, [x8]
Lloh11:
	adrp	x26, _infp@GOTPAGE
Lloh12:
	ldr	x26, [x26, _infp@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, x20
	bl	_fgets
	cbz	x0, LBB0_10
; %bb.1:
	add	x27, x21, #6
	add	x28, x21, #13
Lloh13:
	adrp	x19, l_.str@PAGE
Lloh14:
	add	x19, x19, l_.str@PAGEOFF
Lloh15:
	adrp	x23, l_.str.1@PAGE
Lloh16:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, x20
	bl	_fgets
	cbz	x0, LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x21
	mov	x1, x19
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	w2, #6
	bl	_strncmp
	mov	x25, x27
	cbnz	x0, LBB0_2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh17:
	adrp	x8, _base64@GOTPAGE
Lloh18:
	ldr	x8, [x8, _base64@GOTPAGEOFF]
	mov	w9, #1
Lloh19:
	str	w9, [x8]
	mov	x25, x28
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	mov	x22, x0
	strb	wzr, [x22], #1
	mov	x0, x22
	bl	_strlen
	cbz	x0, LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24, x0]
	cmp	w8, #13
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	strb	wzr, [x24, x0]
	subs	x0, x0, #1
	b.ne	LBB0_8
	b	LBB0_2
LBB0_10:
Lloh20:
	adrp	x8, _EOF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	b	LBB0_36
LBB0_11:
	mov	x0, x25
	bl	_setmode
	cbz	x0, LBB0_19
; %bb.12:
	mov	x23, x0
	mov	w1, #0
	bl	_getmode
	mov	x19, x0
	mov	x0, x23
	bl	_free
Lloh23:
	adrp	x8, _sflag@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.13:
	ldrb	w8, [x22]
	cmp	w8, #126
	b.ne	LBB0_22
; %bb.14:
	mov	w26, #47
	mov	x0, x22
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_22
; %bb.15:
	mov	x23, x0
	strb	wzr, [x0]
	add	x0, x24, #2
	bl	_getpwnam
	strb	w26, [x23]
	cbz	x0, LBB0_22
; %bb.16:
	mov	x25, x0
	ldr	x26, [x0]
	mov	x0, x26
	bl	_strlen
	mov	x24, x0
	add	x21, x21, x0
	cmp	x21, x23
	b.ls	LBB0_45
; %bb.17:
	mov	x0, x23
	bl	_strlen
	add	x8, x0, x24
	cmp	x8, x20
	b.ls	LBB0_44
; %bb.18:
Lloh26:
	adrp	x8, _infile@GOTPAGE
Lloh27:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_19:
Lloh31:
	adrp	x8, _infile@GOTPAGE
Lloh32:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_20:
	bl	_warnx
	mov	w0, #1
	b	LBB0_36
LBB0_21:
	mov	x0, x22
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x22, x22, x0, eq
LBB0_22:
Lloh36:
	adrp	x23, _oflag@GOTPAGE
Lloh37:
	ldr	x23, [x23, _oflag@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_24
; %bb.23:
Lloh38:
	adrp	x8, _outfile@GOTPAGE
Lloh39:
	ldr	x8, [x8, _outfile@GOTPAGEOFF]
Lloh40:
	str	x22, [x8]
LBB0_24:
Lloh41:
	adrp	x8, _pflag@GOTPAGE
Lloh42:
	ldr	x8, [x8, _pflag@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cbz	x8, LBB0_28
LBB0_25:
Lloh44:
	adrp	x8, _stdout@GOTPAGE
Lloh45:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _outfp@GOTPAGE
Lloh48:
	ldr	x9, [x9, _outfp@GOTPAGEOFF]
Lloh49:
	str	x8, [x9]
LBB0_26:
Lloh50:
	adrp	x8, _base64@GOTPAGE
Lloh51:
	ldr	x8, [x8, _base64@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cbz	w8, LBB0_35
; %bb.27:
	bl	_base64_decode
	b	LBB0_36
LBB0_28:
Lloh53:
	adrp	x21, _outfile@GOTPAGE
Lloh54:
	ldr	x21, [x21, _outfile@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh55:
	adrp	x1, l_.str.4@PAGE
Lloh56:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_25
; %bb.29:
Lloh57:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh58:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh63:
	adrp	x22, _O_EXCL@GOTPAGE
Lloh64:
	ldr	x22, [x22, _O_EXCL@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w20, w8, w9
	ldr	x0, [x21]
	sub	x1, x29, #96
	bl	_lstat
	cbz	x0, LBB0_38
; %bb.30:
Lloh65:
	adrp	x8, _errno@GOTPAGE
Lloh66:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
Lloh68:
	adrp	x9, _ENOENT@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_33
LBB0_31:
	mov	w8, #438
	and	w2, w19, w8
	ldr	x0, [x21]
	mov	x1, x20
	bl	_open
	tbnz	w0, #31, LBB0_33
; %bb.32:
Lloh71:
	adrp	x1, l_.str.7@PAGE
Lloh72:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fdopen
Lloh73:
	adrp	x8, _outfp@GOTPAGE
Lloh74:
	ldr	x8, [x8, _outfp@GOTPAGEOFF]
Lloh75:
	str	x0, [x8]
	cbnz	x0, LBB0_26
LBB0_33:
Lloh76:
	adrp	x8, _infile@GOTPAGE
Lloh77:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	ldr	x2, [x21]
Lloh79:
	adrp	x0, l_.str.5@PAGE
Lloh80:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_34:
	bl	_warn
	mov	w0, #1
	b	LBB0_36
LBB0_35:
	bl	_uu_decode
LBB0_36:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh81:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh82:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.37:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_38:
Lloh84:
	adrp	x8, _iflag@GOTPAGE
Lloh85:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
	cbz	x8, LBB0_40
; %bb.39:
Lloh87:
	adrp	x8, _EEXIST@GOTPAGE
Lloh88:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
Lloh90:
	adrp	x8, _infile@GOTPAGE
Lloh91:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh92:
	ldr	w2, [x8]
	ldr	x3, [x21]
Lloh93:
	adrp	x1, l_.str.5@PAGE
Lloh94:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_warnc
	mov	w0, #0
	b	LBB0_36
LBB0_40:
	ldur	w8, [x29, #-96]
Lloh95:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh96:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_46
; %bb.41:
	ldr	x0, [x21]
	bl	_unlink
	cbz	w0, LBB0_31
; %bb.42:
Lloh98:
	adrp	x8, _errno@GOTPAGE
Lloh99:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh100:
	ldr	x8, [x8]
Lloh101:
	adrp	x9, _ENOENT@GOTPAGE
Lloh102:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_31
; %bb.43:
Lloh104:
	adrp	x8, _infile@GOTPAGE
Lloh105:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	ldr	x2, [x21]
Lloh107:
	adrp	x0, l_.str.6@PAGE
Lloh108:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_34
LBB0_44:
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_memmove
	ldr	x26, [x25]
	mov	x23, x21
LBB0_45:
	sub	x22, x23, x24
	mov	x0, x22
	mov	x1, x26
	mov	x2, x24
	bl	_memcpy
	b	LBB0_22
LBB0_46:
	cmp	w8, #130
	b.ne	LBB0_48
; %bb.47:
Lloh109:
	adrp	x8, _EISDIR@GOTPAGE
Lloh110:
	ldr	x8, [x8, _EISDIR@GOTPAGEOFF]
	b	LBB0_51
LBB0_48:
	ldr	x8, [x23]
	cbz	x8, LBB0_50
; %bb.49:
	ldr	w8, [x22]
	bic	w20, w20, w8
	b	LBB0_31
LBB0_50:
Lloh111:
	adrp	x8, _EEXIST@GOTPAGE
Lloh112:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
LBB0_51:
	ldr	w0, [x8]
Lloh113:
	adrp	x8, _infile@GOTPAGE
Lloh114:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x8]
	ldr	x3, [x21]
Lloh116:
	adrp	x1, l_.str.5@PAGE
Lloh117:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_warnc
	mov	w0, #1
	b	LBB0_36
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_base64,4,2                     ; @base64
	.comm	_infp,4,2                       ; @infp
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"begin-base64 "

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

l_.str.2:                               ; @.str.2
	.asciz	"%s: unable to parse file mode"

	.comm	_infile,4,2                     ; @infile
	.comm	_sflag,8,3                      ; @sflag
l_.str.3:                               ; @.str.3
	.asciz	"%s: bad output filename"

	.comm	_oflag,8,3                      ; @oflag
	.comm	_outfile,8,3                    ; @outfile
	.comm	_pflag,8,3                      ; @pflag
l_.str.4:                               ; @.str.4
	.asciz	"/dev/stdout"

	.comm	_stdout,8,3                     ; @stdout
	.comm	_outfp,8,3                      ; @outfp
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_iflag,8,3                      ; @iflag
	.comm	_EEXIST,4,2                     ; @EEXIST
l_.str.5:                               ; @.str.5
	.asciz	"%s: %s"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.6:                               ; @.str.6
	.asciz	"%s: unlink %s"

	.comm	_EISDIR,4,2                     ; @EISDIR
l_.str.7:                               ; @.str.7
	.asciz	"w"

	.no_dead_strip	_decode2
.subsections_via_symbols
