	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysqlnd_local_infile_init
_mysqlnd_local_infile_init:             ## @mysqlnd_local_infile_init
	.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	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movl	$1, %edi
	movl	$32, %esi
	callq	_mnd_ecalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_DBG_RETURN
LBB0_2:
	movq	%rbx, (%r15)
	movq	_open_basedir@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PG
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_php_check_open_basedir_ex
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movq	_CR_UNKNOWN_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$1, %edi
	callq	_DBG_RETURN
LBB0_5:
	movq	%r14, (%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_php_stream_open_wrapper_ex
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	16(%rbx), %rdi
	leaq	L_.str.3(%rip), %rdx
	movl	$8, %esi
	movq	%r14, %rcx
	callq	_snprintf
	movq	_MYSQLND_EE_FILENOTFOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$1, %edi
	callq	_DBG_RETURN
LBB0_7:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBG_RETURN                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mysqlnd_local_infile_init"

	.comm	_open_basedir,4,2               ## @open_basedir
L_.str.1:                               ## @.str.1
	.asciz	"open_basedir restriction in effect. Unable to open file"

	.comm	_CR_UNKNOWN_ERROR,4,2           ## @CR_UNKNOWN_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"r"

L_.str.3:                               ## @.str.3
	.asciz	"Can't find file '%-.64s'."

	.comm	_MYSQLND_EE_FILENOTFOUND,4,2    ## @MYSQLND_EE_FILENOTFOUND
	.no_dead_strip	_mysqlnd_local_infile_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysqlnd_local_infile_init
_mysqlnd_local_infile_init:             ; @mysqlnd_local_infile_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	mov	w0, #1
	mov	w1, #32
	bl	_mnd_ecalloc
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_DBG_RETURN
LBB0_2:
	str	x20, [x21]
Lloh2:
	adrp	x8, _open_basedir@GOTPAGE
Lloh3:
	ldr	x8, [x8, _open_basedir@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_PG
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_php_check_open_basedir_ex
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [x20, #16]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
Lloh7:
	adrp	x8, _CR_UNKNOWN_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CR_UNKNOWN_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	w0, #1
	bl	_DBG_RETURN
LBB0_5:
	str	x19, [x20]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_php_stream_open_wrapper_ex
	str	x0, [x20, #24]
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x20, #16]
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #8
	mov	x3, x19
	bl	_snprintf
Lloh14:
	adrp	x8, _MYSQLND_EE_FILENOTFOUND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MYSQLND_EE_FILENOTFOUND@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	w0, #1
	bl	_DBG_RETURN
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DBG_RETURN
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mysqlnd_local_infile_init"

	.comm	_open_basedir,4,2               ; @open_basedir
l_.str.1:                               ; @.str.1
	.asciz	"open_basedir restriction in effect. Unable to open file"

	.comm	_CR_UNKNOWN_ERROR,4,2           ; @CR_UNKNOWN_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"r"

l_.str.3:                               ; @.str.3
	.asciz	"Can't find file '%-.64s'."

	.comm	_MYSQLND_EE_FILENOTFOUND,4,2    ; @MYSQLND_EE_FILENOTFOUND
	.no_dead_strip	_mysqlnd_local_infile_init
.subsections_via_symbols
