	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_conv_base64_decode_convert
_php_conv_base64_decode_convert:        ## @php_conv_base64_decode_convert
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.2:
	movq	_PHP_CONV_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r9
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movq	(%r8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %r14d
	movl	8(%rdi), %r13d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	12(%rdi), %esi
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	$8, %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=2
	subl	%ecx, %r14d
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movl	%r13d, %ebx
	movl	%r14d, %ecx
	shrl	%cl, %ebx
	movl	%r14d, %edi
	movq	%r9, %r12
	movl	%r15d, %r14d
	movl	%esi, %r15d
	callq	_bmask
	movl	%r15d, %esi
	movl	%r14d, %r15d
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r12, %r9
	andl	%eax, %r13d
	orl	%ebx, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ecx, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	movl	%esi, %eax
	orl	%ecx, %eax
	je	LBB0_21
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	subl	%r14d, %eax
	jb	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	%r13d, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	orl	%edx, %r15d
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	testq	%r9, %r9
	je	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_b64_tbl_dec@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movzbl	(%rbx), %edx
	incq	%rbx
	movl	(%rcx,%rdx,4), %r12d
	decq	%r9
	movl	%r12d, %ecx
	andl	$128, %ecx
	orl	%ecx, %esi
	testb	$-64, %r12b
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r14d, %r14d
	testl	%esi, %esi
	je	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$8, %eax
	je	LBB0_28
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$2, %eax
	je	LBB0_28
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=2
	testl	%esi, %esi
	jne	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$6, %eax
	jb	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=2
	addl	$-6, %eax
	movl	%eax, %ecx
	shll	%cl, %r12d
	orl	%r12d, %r15d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%eax, %ecx
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$6, %r14d
	subl	%eax, %r14d
	movl	%r12d, %eax
	movl	%r14d, %ecx
	shrl	%cl, %eax
	orl	%eax, %r15d
	movl	%r14d, %edi
	movq	%r9, %r13
	callq	_bmask
	movq	%r13, %r9
	movl	%eax, %r13d
	andl	%r12d, %r13d
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	$1, %rax
	jb	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	%r15b, (%rax)
	incq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_23:
	cmpl	$0, (%rdi)
	je	LBB0_26
LBB0_24:
	movq	_PHP_CONV_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_32
LBB0_25:
	xorl	%r9d, %r9d
	jmp	LBB0_31
LBB0_26:
	cmpl	$0, 4(%rdi)
	je	LBB0_24
## %bb.27:
	movq	_PHP_CONV_ERR_UNEXPECTED_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_32
LBB0_28:
	movq	_PHP_CONV_ERR_INVALID_SEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_31
LBB0_29:
	movq	_PHP_CONV_ERR_INVALID_SEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_31
LBB0_30:
	movq	_PHP_CONV_ERR_TOO_BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
LBB0_31:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%r15d, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	negl	%edx
	movl	%edx, %ecx
	shrl	%cl, %r15d
	subl	%eax, %r14d
	cmovael	%edi, %r15d
	orl	%r13d, %r15d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, 8(%rcx)
	leal	8(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	%esi, 12(%rcx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r9, (%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_32:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHP_CONV_ERR_SUCCESS,4,2       ## @PHP_CONV_ERR_SUCCESS
	.comm	_PHP_CONV_ERR_UNEXPECTED_EOS,4,2 ## @PHP_CONV_ERR_UNEXPECTED_EOS
	.comm	_b64_tbl_dec,8,3                ## @b64_tbl_dec
	.comm	_PHP_CONV_ERR_INVALID_SEQ,4,2   ## @PHP_CONV_ERR_INVALID_SEQ
	.comm	_PHP_CONV_ERR_TOO_BIG,4,2       ## @PHP_CONV_ERR_TOO_BIG
	.no_dead_strip	_php_conv_base64_decode_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_conv_base64_decode_convert
_php_conv_base64_decode_convert:        ; @php_conv_base64_decode_convert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x0
	cbz	x1, LBB0_23
; %bb.1:
	cbz	x2, LBB0_23
; %bb.2:
Lloh0:
	adrp	x8, _PHP_CONV_ERR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHP_CONV_ERR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	stp	x1, x2, [sp, #8]                ; 16-byte Folded Spill
	ldr	x27, [x1]
	stp	x3, x4, [sp, #24]               ; 16-byte Folded Spill
	ldr	x8, [x3]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x19, [x2]
	ldr	x28, [x4]
	ldp	w25, w20, [x21, #4]
	ldr	w24, [x21, #12]
Lloh3:
	adrp	x22, _b64_tbl_dec@GOTPAGE
Lloh4:
	ldr	x22, [x22, _b64_tbl_dec@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	w26, #0
	mov	w9, #8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	sub	w25, w25, w9
	lsr	w23, w20, w25
	mov	x0, x25
	bl	_bmask
	mov	w9, #0
	and	w20, w0, w20
	orr	w26, w23, w26
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	orr	w8, w24, w9
	cbz	w8, LBB0_21
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w8, w9, w25
	b.lo	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	lsl	w9, w20, w8
	orr	w26, w9, w26
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	cbz	x19, LBB0_27
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x9, [x22]
	ldrb	w10, [x27], #1
	ldr	w23, [x9, x10, lsl #2]
	sub	x19, x19, #1
	and	w9, w23, #0x80
	orr	w24, w9, w24
	tst	w23, #0xc0
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	cbz	w24, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	w8, #8
	b.eq	LBB0_25
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	w8, #2
	b.eq	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w25, #0
	mov	w9, #1
	str	w9, [x21]
	b	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w25, #0
	mov	w9, #0
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w24, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
	subs	w9, w8, #6
	b.lo	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w20, #0
	mov	w25, #0
	mov	w24, #0
	lsl	w8, w23, w9
	orr	w26, w8, w26
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w25, #0
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x9, x8
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w9, #6
	sub	w25, w9, w8
	lsr	w8, w23, w25
	orr	w26, w8, w26
	mov	x0, x25
	bl	_bmask
	mov	w9, #0
	mov	w24, #0
	and	w20, w0, w23
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x28, LBB0_32
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	strb	w26, [x8], #1
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	sub	x28, x28, #1
	b	LBB0_3
LBB0_23:
	ldr	w8, [x21]
	cbz	w8, LBB0_30
LBB0_24:
Lloh5:
	adrp	x8, _PHP_CONV_ERR_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PHP_CONV_ERR_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_29
LBB0_25:
	mov	w25, #0
Lloh8:
	adrp	x9, _PHP_CONV_ERR_INVALID_SEQ@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PHP_CONV_ERR_INVALID_SEQ@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
LBB0_26:
	ldp	x12, x11, [sp, #24]             ; 16-byte Folded Reload
	ldp	x14, x13, [sp, #8]              ; 16-byte Folded Reload
	b	LBB0_28
LBB0_27:
	mov	w25, #0
	ldp	x12, x11, [sp, #24]             ; 16-byte Folded Reload
	ldp	x14, x13, [sp, #8]              ; 16-byte Folded Reload
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
LBB0_28:
	ldr	x15, [sp, #40]                  ; 8-byte Folded Reload
	sub	w9, w8, w25
	subs	w8, w25, w8
	lsl	w10, w26, w8
	lsr	w9, w26, w9
	csel	w9, w9, w10, lo
	add	w8, w8, #8
	orr	w9, w9, w20
	stp	w8, w9, [x21, #4]
	str	w24, [x21, #12]
	str	x27, [x14]
	str	x19, [x13]
	str	x15, [x12]
	str	x28, [x11]
LBB0_29:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_30:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_24
; %bb.31:
Lloh11:
	adrp	x8, _PHP_CONV_ERR_UNEXPECTED_EOS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PHP_CONV_ERR_UNEXPECTED_EOS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_29
LBB0_32:
Lloh14:
	adrp	x8, _PHP_CONV_ERR_TOO_BIG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHP_CONV_ERR_TOO_BIG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x8, x9
	b	LBB0_26
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PHP_CONV_ERR_SUCCESS,4,2       ; @PHP_CONV_ERR_SUCCESS
	.comm	_PHP_CONV_ERR_UNEXPECTED_EOS,4,2 ; @PHP_CONV_ERR_UNEXPECTED_EOS
	.comm	_b64_tbl_dec,8,3                ; @b64_tbl_dec
	.comm	_PHP_CONV_ERR_INVALID_SEQ,4,2   ; @PHP_CONV_ERR_INVALID_SEQ
	.comm	_PHP_CONV_ERR_TOO_BIG,4,2       ; @PHP_CONV_ERR_TOO_BIG
	.no_dead_strip	_php_conv_base64_decode_convert
.subsections_via_symbols
