	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__php_imap_add_body             ## -- Begin function _php_imap_add_body
	.p2align	4, 0x90
__php_imap_add_body:                    ## @_php_imap_add_body
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdx
	movq	_TYPEMAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_add_property_long
LBB0_2:
	movq	8(%rbx), %rdx
	movq	_ENCMAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jg	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_add_property_long
LBB0_4:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_add_property_long
	movq	24(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_property_string
	cmpq	$0, 80(%rbx)
	je	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_add_property_long
	movq	80(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_property_string
	cmpq	$0, 72(%rbx)
	je	LBB0_12
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_add_property_long
	movq	72(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_property_string
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_add_property_long
	cmpq	$0, 80(%rbx)
	jne	LBB0_8
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_add_property_long
	cmpq	$0, 72(%rbx)
	jne	LBB0_11
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_add_property_long
LBB0_13:
	movl	64(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_15
## %bb.14:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_property_long
LBB0_15:
	movl	68(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_17
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_add_property_long
LBB0_17:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %r15
	testq	%r15, %r15
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.18:
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_add_property_long
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_array_init
	leaq	-48(%rbp), %rbx
	leaq	L_.str.12(%rip), %r13
	leaq	L_.str.11(%rip), %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_add_next_index_object
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_object_init
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_add_property_string
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_add_property_string
	jmp	LBB0_23
LBB0_24:
	leaq	-44(%rbp), %rdi
	callq	_object_init
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_add_property_long
LBB0_25:
	leaq	L_.str.13(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_add_assoc_object
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	_TYPEMULTIPART@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.26:
	leaq	-44(%rbp), %rdi
	callq	_array_init
	movq	32(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.27:
	leaq	-48(%rbp), %r14
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_object_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__php_imap_add_body
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_add_next_index_object
	movq	88(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_28
LBB0_29:
	leaq	L_.str.14(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	callq	_add_assoc_object
	movq	(%r15), %rax
LBB0_30:
	movq	_TYPEMESSAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.31:
	movq	24(%r15), %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	movq	16(%r15), %r15
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_array_init
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_object_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	__php_imap_add_body
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_add_next_index_object
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_add_assoc_object
LBB0_33:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEMAX,8,3                    ## @TYPEMAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type"

	.comm	_ENCMAX,8,3                     ## @ENCMAX
L_.str.1:                               ## @.str.1
	.asciz	"encoding"

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

L_.str.3:                               ## @.str.3
	.asciz	"subtype"

L_.str.4:                               ## @.str.4
	.asciz	"ifdescription"

L_.str.5:                               ## @.str.5
	.asciz	"description"

L_.str.6:                               ## @.str.6
	.asciz	"ifid"

L_.str.7:                               ## @.str.7
	.asciz	"id"

L_.str.8:                               ## @.str.8
	.asciz	"lines"

L_.str.9:                               ## @.str.9
	.asciz	"bytes"

L_.str.10:                              ## @.str.10
	.asciz	"ifparameters"

L_.str.11:                              ## @.str.11
	.asciz	"attribute"

L_.str.12:                              ## @.str.12
	.asciz	"value"

L_.str.13:                              ## @.str.13
	.asciz	"parameters"

	.comm	_TYPEMULTIPART,8,3              ## @TYPEMULTIPART
L_.str.14:                              ## @.str.14
	.asciz	"parts"

	.comm	_TYPEMESSAGE,8,3                ## @TYPEMESSAGE
L_.str.15:                              ## @.str.15
	.asciz	"rfc822"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__php_imap_add_body             ; -- Begin function _php_imap_add_body
	.p2align	2
__php_imap_add_body:                    ; @_php_imap_add_body
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x2, [x1]
Lloh0:
	adrp	x8, _TYPEMAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPEMAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_add_property_long
LBB0_2:
	ldr	x2, [x20, #8]
Lloh5:
	adrp	x8, _ENCMAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENCMAX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x2, x8
	b.gt	LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_add_property_long
LBB0_4:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_18
; %bb.5:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_add_property_long
	ldr	x2, [x20, #24]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_add_property_string
	ldr	x8, [x20, #80]
	cbz	x8, LBB0_19
LBB0_6:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_add_property_long
	ldr	x2, [x20, #80]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_add_property_string
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_20
LBB0_7:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_add_property_long
	ldr	x2, [x20, #72]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_add_property_string
	ldr	w2, [x20, #64]
	cbz	w2, LBB0_9
LBB0_8:
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_add_property_long
LBB0_9:
	ldr	w2, [x20, #68]
	cbz	w2, LBB0_11
; %bb.10:
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_add_property_long
LBB0_11:
	ldr	x23, [x20, #40]
	cbz	x23, LBB0_21
; %bb.12:
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_add_property_long
	add	x0, sp, #12
	bl	_array_init
Lloh28:
	adrp	x21, l_.str.12@PAGE
Lloh29:
	add	x21, x21, l_.str.12@PAGEOFF
Lloh30:
	adrp	x22, l_.str.11@PAGE
Lloh31:
	add	x22, x22, l_.str.11@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_add_next_index_object
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_object_init
	ldr	x2, [x23, #8]
	cbz	x2, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	mov	x1, x22
	bl	_add_property_string
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x2, [x23]
	cbz	x2, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_add_property_string
	b	LBB0_13
LBB0_18:
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_add_property_long
	ldr	x8, [x20, #80]
	cbnz	x8, LBB0_6
LBB0_19:
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_add_property_long
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_7
LBB0_20:
Lloh36:
	adrp	x1, l_.str.6@PAGE
Lloh37:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_add_property_long
	ldr	w2, [x20, #64]
	cbnz	w2, LBB0_8
	b	LBB0_9
LBB0_21:
	add	x0, sp, #12
	bl	_object_init
Lloh38:
	adrp	x1, l_.str.10@PAGE
Lloh39:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_add_property_long
LBB0_22:
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_add_assoc_object
	ldr	x8, [x20]
Lloh42:
	adrp	x9, _TYPEMULTIPART@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TYPEMULTIPART@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.23:
	add	x0, sp, #12
	bl	_array_init
	ldr	x21, [x20, #32]
	cbz	x21, LBB0_25
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_object_init
	add	x0, sp, #8
	mov	x1, x21
	bl	__php_imap_add_body
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_add_next_index_object
	ldr	x21, [x21, #88]
	cbnz	x21, LBB0_24
LBB0_25:
Lloh45:
	adrp	x1, l_.str.14@PAGE
Lloh46:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_add_assoc_object
	ldr	x8, [x20]
LBB0_26:
Lloh47:
	adrp	x9, _TYPEMESSAGE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _TYPEMESSAGE@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.27:
	ldr	x0, [x20, #24]
Lloh50:
	adrp	x1, l_.str.15@PAGE
Lloh51:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strcasecmp
	cbnz	w0, LBB0_29
; %bb.28:
	ldr	x20, [x20, #16]
	add	x0, sp, #12
	bl	_array_init
	add	x0, sp, #8
	bl	_object_init
	add	x0, sp, #8
	mov	x1, x20
	bl	__php_imap_add_body
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_add_next_index_object
Lloh52:
	adrp	x1, l_.str.14@PAGE
Lloh53:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_add_assoc_object
LBB0_29:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEMAX,8,3                    ; @TYPEMAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type"

	.comm	_ENCMAX,8,3                     ; @ENCMAX
l_.str.1:                               ; @.str.1
	.asciz	"encoding"

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

l_.str.3:                               ; @.str.3
	.asciz	"subtype"

l_.str.4:                               ; @.str.4
	.asciz	"ifdescription"

l_.str.5:                               ; @.str.5
	.asciz	"description"

l_.str.6:                               ; @.str.6
	.asciz	"ifid"

l_.str.7:                               ; @.str.7
	.asciz	"id"

l_.str.8:                               ; @.str.8
	.asciz	"lines"

l_.str.9:                               ; @.str.9
	.asciz	"bytes"

l_.str.10:                              ; @.str.10
	.asciz	"ifparameters"

l_.str.11:                              ; @.str.11
	.asciz	"attribute"

l_.str.12:                              ; @.str.12
	.asciz	"value"

l_.str.13:                              ; @.str.13
	.asciz	"parameters"

	.comm	_TYPEMULTIPART,8,3              ; @TYPEMULTIPART
l_.str.14:                              ; @.str.14
	.asciz	"parts"

	.comm	_TYPEMESSAGE,8,3                ; @TYPEMESSAGE
l_.str.15:                              ; @.str.15
	.asciz	"rfc822"

.subsections_via_symbols
