	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mime_header_decoder_new        ## -- Begin function mime_header_decoder_new
	.p2align	4, 0x90
_mime_header_decoder_new:               ## @mime_header_decoder_new
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$80, %edi
	callq	_mbfl_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	40(%rax), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mbfl_memory_device_init
	movq	%rbx, %rdi
	addq	$72, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mbfl_memory_device_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movq	_mbfl_encoding_8bit@GOTPCREL(%rip), %r15
	movq	%r15, 24(%rbx)
	movq	_mbfl_encoding_ascii@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%r14, 48(%rbx)
	movq	_mbfl_memory_device_output@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mbfl_encoding_wchar@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_mbfl_convert_filter_new
	movq	%rax, 8(%rbx)
	movq	32(%rbx), %rdi
	movq	_mbfl_filter_output_pipe@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_mbfl_convert_filter_new
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rdi
	movl	(%r14), %edx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_mbfl_convert_filter_new
	movq	%rax, (%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_mime_header_decoder_delete
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_encoding_8bit,4,2         ## @mbfl_encoding_8bit
	.comm	_mbfl_encoding_ascii,4,2        ## @mbfl_encoding_ascii
	.comm	_mbfl_encoding_wchar,4,2        ## @mbfl_encoding_wchar
	.comm	_mbfl_memory_device_output,4,2  ## @mbfl_memory_device_output
	.comm	_mbfl_filter_output_pipe,4,2    ## @mbfl_filter_output_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mime_header_decoder_new        ; -- Begin function mime_header_decoder_new
	.p2align	2
_mime_header_decoder_new:               ; @mime_header_decoder_new
	.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	x20, x0
	mov	w0, #80
	bl	_mbfl_malloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	add	x21, x19, #40
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_mbfl_memory_device_init
	add	x0, x19, #72
	mov	w1, #0
	mov	w2, #0
	bl	_mbfl_memory_device_init
	str	xzr, [x19, #64]
Lloh0:
	adrp	x22, _mbfl_encoding_8bit@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mbfl_encoding_8bit@GOTPAGEOFF]
Lloh2:
	adrp	x8, _mbfl_encoding_ascii@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mbfl_encoding_ascii@GOTPAGEOFF]
	stp	x22, x8, [x19, #24]
	stp	x20, xzr, [x19, #48]
Lloh4:
	adrp	x8, _mbfl_memory_device_output@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mbfl_memory_device_output@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x23, _mbfl_encoding_wchar@GOTPAGE
Lloh8:
	ldr	x23, [x23, _mbfl_encoding_wchar@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x20
	mov	w3, #0
	mov	x4, x21
	bl	_mbfl_convert_filter_new
	mov	x4, x0
	str	x0, [x19, #8]
	ldr	x0, [x19, #32]
Lloh9:
	adrp	x20, _mbfl_filter_output_pipe@GOTPAGE
Lloh10:
	ldr	x20, [x20, _mbfl_filter_output_pipe@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x1, x23
	mov	w3, #0
	bl	_mbfl_convert_filter_new
	mov	x4, x0
	str	x0, [x19, #16]
	ldr	x0, [x19, #24]
	ldr	w2, [x20]
	mov	x1, x22
	mov	w3, #0
	bl	_mbfl_convert_filter_new
	str	x0, [x19]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	cbnz	x0, LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_mime_header_decoder_delete
	mov	x19, #0
LBB0_5:
	mov	x0, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_encoding_8bit,4,2         ; @mbfl_encoding_8bit
	.comm	_mbfl_encoding_ascii,4,2        ; @mbfl_encoding_ascii
	.comm	_mbfl_encoding_wchar,4,2        ; @mbfl_encoding_wchar
	.comm	_mbfl_memory_device_output,4,2  ; @mbfl_memory_device_output
	.comm	_mbfl_filter_output_pipe,4,2    ; @mbfl_filter_output_pipe
.subsections_via_symbols
