	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intl_error_set_custom_msg      ## -- Begin function intl_error_set_custom_msg
	.p2align	4, 0x90
_intl_error_set_custom_msg:             ## @intl_error_set_custom_msg
	.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
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.2:
	movq	_error_level@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_INTL_G
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	callq	_INTL_G
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	_php_error_docref
LBB0_4:
	movq	_use_exceptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_INTL_G
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IntlException_ce_ptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	movq	%r15, %rcx
	callq	_zend_throw_exception_ex
LBB0_6:
	xorl	%eax, %eax
	callq	_intl_g_error_get
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	callq	_intl_free_custom_error_msg
	movl	%r14d, (%rbx)
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_estrdup
	movq	%rax, %r15
LBB0_9:
	movq	%r15, 8(%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_error_level,4,2                ## @error_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_use_exceptions,4,2             ## @use_exceptions
	.comm	_IntlException_ce_ptr,4,2       ## @IntlException_ce_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intl_error_set_custom_msg      ; -- Begin function intl_error_set_custom_msg
	.p2align	2
_intl_error_set_custom_msg:             ; @intl_error_set_custom_msg
	.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
	cbz	x1, LBB0_10
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbnz	x0, LBB0_7
; %bb.2:
Lloh0:
	adrp	x21, _error_level@GOTPAGE
Lloh1:
	ldr	x21, [x21, _error_level@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_INTL_G
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x21]
	bl	_INTL_G
	mov	x1, x0
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x3, x19
	bl	_php_error_docref
LBB0_4:
Lloh4:
	adrp	x8, _use_exceptions@GOTPAGE
Lloh5:
	ldr	x8, [x8, _use_exceptions@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_INTL_G
	cbz	x0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _IntlException_ce_ptr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IntlException_ce_ptr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	mov	x3, x19
	bl	_zend_throw_exception_ex
LBB0_6:
	bl	_intl_g_error_get
	mov	x21, x0
	cbz	x0, LBB0_10
LBB0_7:
	mov	x0, x21
	bl	_intl_free_custom_error_msg
	str	w20, [x21]
	cbz	w20, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_estrdup
	mov	x19, x0
LBB0_9:
	str	x19, [x21, #8]
LBB0_10:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_error_level,4,2                ; @error_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_use_exceptions,4,2             ; @use_exceptions
	.comm	_IntlException_ce_ptr,4,2       ; @IntlException_ce_ptr
.subsections_via_symbols
