	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_mail
_split_mail:                            ## @split_mail
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%ecx, -28(%rbp)
	testl	%ecx, %ecx
	jns	LBB0_2
## %bb.1:
	movl	$0, -28(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-28(%rbp), %rsi
	callq	_git_config_get_bool
LBB0_2:
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	-28(%rbp), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_split_mail_stgit_series
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_BUG
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_5:
	movq	_stgit_patch_to_mail@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movl	-28(%rbp), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_split_mail_mbox
	jmp	LBB0_11
LBB0_4:
	movl	-28(%rbp), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_split_mail_mbox
	jmp	LBB0_11
LBB0_8:
	movq	_hg_patch_to_mail@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	movl	-28(%rbp), %ecx
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_split_mail_conv
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"am.keepcr"

	.comm	_stgit_patch_to_mail,4,2        ## @stgit_patch_to_mail
	.comm	_hg_patch_to_mail,4,2           ## @hg_patch_to_mail
L_.str.1:                               ## @.str.1
	.asciz	"invalid patch_format"

	.no_dead_strip	_split_mail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_mail
_split_mail:                            ; @split_mail
	.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
	str	w3, [sp, #12]
	tbz	w3, #31, LBB0_2
; %bb.1:
	str	wzr, [sp, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #12
	bl	_git_config_get_bool
LBB0_2:
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_split_mail_stgit_series
	b	LBB0_11
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BUG
	mov	w0, #-1
	b	LBB0_11
LBB0_6:
Lloh6:
	adrp	x8, _stgit_patch_to_mail@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stgit_patch_to_mail@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_split_mail_mbox
	b	LBB0_11
LBB0_8:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_split_mail_mbox
	b	LBB0_11
LBB0_9:
Lloh8:
	adrp	x8, _hg_patch_to_mail@GOTPAGE
Lloh9:
	ldr	x8, [x8, _hg_patch_to_mail@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldr	w3, [sp, #12]
	mov	x1, x20
	mov	x2, x19
	bl	_split_mail_conv
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"am.keepcr"

	.comm	_stgit_patch_to_mail,4,2        ; @stgit_patch_to_mail
	.comm	_hg_patch_to_mail,4,2           ; @hg_patch_to_mail
l_.str.1:                               ; @.str.1
	.asciz	"invalid patch_format"

	.no_dead_strip	_split_mail
.subsections_via_symbols
