	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_sqlite3_authorizer
_php_sqlite3_authorizer:                ## @php_sqlite3_authorizer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SQLITE_OK@GOTPCREL(%rip), %r14
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.1:
	movq	%rdx, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	movl	$9, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	cmpb	$0, (%r15)
	je	LBB0_8
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movq	%r15, %rdi
	callq	_php_check_open_basedir
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_SQLITE_DENY@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rbx
LBB0_9:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_SQLITE_DENY@GOTPCREL(%rip), %rbx
	cmpb	$0, 5(%r15)
	je	LBB0_9
## %bb.5:
	leaq	5(%r15), %rdi
	callq	_php_check_open_basedir
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":memory:"

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

	.comm	_SQLITE_DENY,4,2                ## @SQLITE_DENY
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.no_dead_strip	_php_sqlite3_authorizer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_sqlite3_authorizer
_php_sqlite3_authorizer:                ; @php_sqlite3_authorizer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	mov	w2, #9
	bl	_memcmp
	cbz	w0, LBB0_5
; %bb.2:
	ldrb	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_php_check_open_basedir
	cbnz	w0, LBB0_9
LBB0_5:
Lloh4:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldrb	w8, [x0, #5]!
	cbz	w8, LBB0_9
; %bb.8:
	bl	_php_check_open_basedir
	cbz	w0, LBB0_4
LBB0_9:
Lloh6:
	adrp	x8, _SQLITE_DENY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_DENY@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":memory:"

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

	.comm	_SQLITE_DENY,4,2                ; @SQLITE_DENY
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.no_dead_strip	_php_sqlite3_authorizer
.subsections_via_symbols
