	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_mime_header_encode        ## -- Begin function mbfl_mime_header_encode
	.p2align	4, 0x90
_mbfl_mime_header_encode:               ## @mbfl_mime_header_encode
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_mbfl_string_init
	movl	24(%r13), %eax
	movl	%eax, 24(%r15)
	movq	_mbfl_encoding_ascii@GOTPCREL(%rip), %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r15)
	movq	%r13, %r15
	movq	16(%r13), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_mime_header_encoder_new
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movq	%rax, %r12
	movq	%r14, %rdx
	testq	%r14, %r14
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_20
## %bb.2:
	movsbl	(%rdx), %ecx
	movq	(%r12), %rax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	movl	%ecx, (%rax)
	movsbl	1(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.6:
	movl	%ecx, 4(%rax)
	movsbl	2(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.8:
	movl	%ecx, 8(%rax)
	movsbl	3(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.10:
	movl	%ecx, 12(%rax)
	movsbl	4(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.12:
	movl	%ecx, 16(%rax)
	movsbl	5(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.14:
	movl	%ecx, 20(%rax)
	movsbl	6(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.16:
	movl	%ecx, 24(%rax)
	movsbl	7(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.18:
	movl	%ecx, 28(%rax)
	movl	$8, %ecx
	jmp	LBB0_19
LBB0_26:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_3:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_5:
	movl	$1, %ecx
	jmp	LBB0_19
LBB0_7:
	movl	$2, %ecx
	jmp	LBB0_19
LBB0_9:
	movl	$3, %ecx
	jmp	LBB0_19
LBB0_11:
	movl	$4, %ecx
	jmp	LBB0_19
LBB0_13:
	movl	$5, %ecx
	jmp	LBB0_19
LBB0_15:
	movl	$6, %ecx
	jmp	LBB0_19
LBB0_17:
	movl	$7, %ecx
LBB0_19:
	leaq	1(%rcx), %rdx
	movl	$32, (%rax,%rcx,4)
	movl	$0, 4(%rax,%rcx,4)
	movq	%rdx, 8(%r12)
LBB0_20:
	leal	-1(%r14), %eax
	cmpl	$72, %eax
	ja	LBB0_22
## %bb.21:
	movl	%r14d, 16(%r12)
LBB0_22:
	movq	(%r15), %r13
	testq	%r13, %r13
	je	LBB0_25
## %bb.23:
	movq	8(%r15), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rsi
	movzbl	(%r15,%rbx), %edi
	callq	*(%rsi)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_24
LBB0_25:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mime_header_encoder_result
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_mime_header_encoder_delete
	movq	%r14, %rax
LBB0_27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_encoding_ascii,4,2        ## @mbfl_encoding_ascii
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mbfl_mime_header_encode
lCPI0_0:
	.long	32                              ; 0x20
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mbfl_mime_header_encode
	.p2align	2
_mbfl_mime_header_encode:               ; @mbfl_mime_header_encode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x5
	mov	x23, x4
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_mbfl_string_init
	ldr	w8, [x21, #24]
	str	w8, [x19, #24]
Lloh0:
	adrp	x8, _mbfl_encoding_ascii@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mbfl_encoding_ascii@GOTPAGEOFF]
	str	x8, [x19, #16]
	ldr	x0, [x21, #16]
	mov	x1, x24
	mov	x2, x20
	bl	_mime_header_encoder_new
	cbz	x0, LBB0_26
; %bb.1:
	mov	x20, x0
	cbz	x23, LBB0_20
; %bb.2:
	ldrsb	w9, [x23]
	ldr	x8, [x20]
	cbz	w9, LBB0_11
; %bb.3:
	str	w9, [x8]
	ldrsb	w9, [x23, #1]
	cbz	w9, LBB0_12
; %bb.4:
	str	w9, [x8, #4]
	ldrsb	w9, [x23, #2]
	cbz	w9, LBB0_13
; %bb.5:
	str	w9, [x8, #8]
	ldrsb	w9, [x23, #3]
	cbz	w9, LBB0_14
; %bb.6:
	str	w9, [x8, #12]
	ldrsb	w9, [x23, #4]
	cbz	w9, LBB0_15
; %bb.7:
	str	w9, [x8, #16]
	ldrsb	w9, [x23, #5]
	cbz	w9, LBB0_16
; %bb.8:
	str	w9, [x8, #20]
	ldrsb	w9, [x23, #6]
	cbz	w9, LBB0_17
; %bb.9:
	str	w9, [x8, #24]
	ldrsb	w9, [x23, #7]
	cbz	w9, LBB0_18
; %bb.10:
	str	w9, [x8, #28]
	mov	w9, #8
	b	LBB0_19
LBB0_11:
	mov	x9, #0
	b	LBB0_19
LBB0_12:
	mov	w9, #1
	b	LBB0_19
LBB0_13:
	mov	w9, #2
	b	LBB0_19
LBB0_14:
	mov	w9, #3
	b	LBB0_19
LBB0_15:
	mov	w9, #4
	b	LBB0_19
LBB0_16:
	mov	w9, #5
	b	LBB0_19
LBB0_17:
	mov	w9, #6
	b	LBB0_19
LBB0_18:
	mov	w9, #7
LBB0_19:
	add	x10, x9, #1
Lloh2:
	adrp	x11, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x11, lCPI0_0@PAGEOFF]
	lsl	x9, x9, #2
	str	d0, [x8, x9]
	str	x10, [x20, #8]
LBB0_20:
	sub	w8, w22, #1
	cmp	w8, #72
	b.hi	LBB0_22
; %bb.21:
	str	w22, [x20, #16]
LBB0_22:
	ldr	x22, [x21]
	cbz	x22, LBB0_25
; %bb.23:
	ldr	x21, [x21, #8]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, #24]
	ldr	x8, [x1]
	ldrb	w0, [x21], #1
	blr	x8
	subs	x22, x22, #1
	b.ne	LBB0_24
LBB0_25:
	mov	x0, x20
	mov	x1, x19
	bl	_mime_header_encoder_result
	mov	x19, x0
	mov	x0, x20
	bl	_mime_header_encoder_delete
	mov	x0, x19
LBB0_26:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_encoding_ascii,4,2        ; @mbfl_encoding_ascii
.subsections_via_symbols
