	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_mail_build_headers_elem
_php_mail_build_headers_elem:           ## @php_mail_build_headers_elem
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_Z_TYPE_P
	cmpl	$129, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	callq	_php_mail_build_headers_check_field_name
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	callq	_php_mail_build_headers_check_field_value
	cmpl	(%r12), %eax
	jne	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_smart_str_append
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_smart_str_appendl
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_smart_str_appends
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smart_str_appendl              ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_mail_build_headers_elems   ## TAILCALL
LBB0_8:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_ZSTR_VAL
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_4
LBB0_3:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_ZSTR_VAL
	leaq	L_.str(%rip), %rdx
LBB0_4:
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_error_docref               ## TAILCALL
LBB0_9:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_ZSTR_VAL
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_error_docref               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Header field name (%s) contains invalid chars"

L_.str.1:                               ## @.str.1
	.asciz	"Header field value (%s => %s) contains invalid chars or format"

L_.str.2:                               ## @.str.2
	.asciz	": "

L_.str.3:                               ## @.str.3
	.asciz	"\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"headers array elements must be string or array (%s)"

	.no_dead_strip	_php_mail_build_headers_elem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_mail_build_headers_elem
_php_mail_build_headers_elem:           ; @php_mail_build_headers_elem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_Z_TYPE_P
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_php_mail_build_headers_check_field_name
Lloh0:
	adrp	x22, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SUCCESS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_php_mail_build_headers_check_field_value
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_smart_str_append
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	bl	_smart_str_appendl
	mov	x0, x19
	bl	_Z_STRVAL_P
	mov	x1, x0
	mov	x0, x20
	bl	_smart_str_appends
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_smart_str_appendl
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_php_mail_build_headers_elems
LBB0_6:
Lloh6:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	mov	x0, x21
	bl	_ZSTR_VAL
	mov	x3, x0
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	mov	x0, x21
	bl	_ZSTR_VAL
	mov	x3, x0
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
LBB0_8:
	mov	x0, #0
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_php_error_docref
LBB0_9:
Lloh16:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_ZSTR_VAL
	mov	x21, x0
	mov	x0, x19
	bl	_Z_STRVAL_P
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	mov	x3, x21
	bl	_php_error_docref
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Header field name (%s) contains invalid chars"

l_.str.1:                               ; @.str.1
	.asciz	"Header field value (%s => %s) contains invalid chars or format"

l_.str.2:                               ; @.str.2
	.asciz	": "

l_.str.3:                               ; @.str.3
	.asciz	"\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"headers array elements must be string or array (%s)"

	.no_dead_strip	_php_mail_build_headers_elem
.subsections_via_symbols
