	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function git_pretty_formats_config
_git_pretty_formats_config:             ## @git_pretty_formats_config
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_skip_prefix
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_builtin_formats_len@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	$20, %ebx
	xorl	%r13d, %r13d
	movq	_commit_formats@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx), %edi
	movq	-56(%rbp), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
## %bb.5:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_6:
	movq	_commit_formats_len@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	cmpl	%esi, %eax
	jge	LBB0_13
## %bb.7:
	movslq	%eax, %rbx
	leaq	(,%rbx,8), %rax
	leaq	(%rax,%rax,2), %r14
	movq	_commit_formats@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	20(%rax,%r14), %edi
	movq	-56(%rbp), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r13), %rsi
	addq	$24, %r14
	cmpq	%rsi, %rbx
	jl	LBB0_9
	jmp	LBB0_13
LBB0_10:
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	addq	%r14, %r12
	jmp	LBB0_14
LBB0_12:
	movl	(%r13), %esi
LBB0_13:
	movq	_commit_formats@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	incl	%esi
	movq	_commit_formats_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ALLOC_GROW
	movslq	(%r13), %rax
	leaq	(%rax,%rax,2), %r12
	shlq	$3, %r12
	addq	(%rbx), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	incl	(%r13)
LBB0_14:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rdi
	callq	_xstrdup
	movl	%eax, 20(%r12)
	movq	_CMIT_FMT_USERFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_git_config_string
	movl	$-1, %r13d
	testq	%rax, %rax
	jne	LBB0_22
## %bb.15:
	movq	-48(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	$0, (%r12)
	jmp	LBB0_21
LBB0_17:
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	-48(%rbp), %rdi
	movl	$37, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movl	$1, (%r12)
LBB0_21:
	movq	-48(%rbp), %rax
	movq	%rax, 8(%r12)
	xorl	%r13d, %r13d
LBB0_22:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	$1, 4(%r12)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pretty."

	.comm	_builtin_formats_len,4,2        ## @builtin_formats_len
	.comm	_commit_formats,8,3             ## @commit_formats
	.comm	_commit_formats_len,4,2         ## @commit_formats_len
	.comm	_commit_formats_alloc,4,2       ## @commit_formats_alloc
	.comm	_CMIT_FMT_USERFORMAT,4,2        ## @CMIT_FMT_USERFORMAT
L_.str.1:                               ## @.str.1
	.asciz	"format:"

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

	.no_dead_strip	_git_pretty_formats_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function git_pretty_formats_config
_git_pretty_formats_config:             ; @git_pretty_formats_config
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_21
; %bb.1:
Lloh2:
	adrp	x22, _builtin_formats_len@GOTPAGE
Lloh3:
	ldr	x22, [x22, _builtin_formats_len@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x21, _commit_formats@GOTPAGE
Lloh5:
	ldr	x21, [x21, _commit_formats@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x23, #0
	mov	w24, #20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x24]
	ldr	x1, [sp, #8]
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	add	x24, x24, #24
	cmp	x23, x8
	b.lt	LBB0_3
LBB0_5:
Lloh6:
	adrp	x22, _commit_formats_len@GOTPAGE
Lloh7:
	ldr	x22, [x22, _commit_formats_len@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.6:
	mov	x9, x8
	sxtw	x24, w9
	add	x8, x24, w8, sxtw #1
	lsl	x23, x8, #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w0, [x8, #20]
	ldr	x1, [sp, #8]
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x9, [x22]
	add	x23, x23, #24
	cmp	x24, x9
	b.lt	LBB0_7
	b	LBB0_12
LBB0_9:
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.10:
	add	x21, x8, x23
	b	LBB0_13
LBB0_11:
	ldr	w9, [x22]
LBB0_12:
	ldr	x0, [x21]
	add	w1, w9, #1
Lloh8:
	adrp	x8, _commit_formats_alloc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _commit_formats_alloc@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_ALLOC_GROW
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	mov	w10, #24
	madd	x21, x9, x10, x8
	mov	x0, x21
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_13:
	ldr	x0, [sp, #8]
	bl	_xstrdup
Lloh11:
	adrp	x8, _CMIT_FMT_USERFORMAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CMIT_FMT_USERFORMAT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #16]
	mov	x0, sp
	mov	x1, x20
	mov	x2, x19
	bl	_git_config_string
	cbz	x0, LBB0_15
; %bb.14:
	mov	w0, #-1
	b	LBB0_21
LBB0_15:
	ldr	x0, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	bl	_skip_prefix
	cbz	x0, LBB0_17
; %bb.16:
	str	wzr, [x21]
	b	LBB0_20
LBB0_17:
	ldr	x0, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, sp
	bl	_skip_prefix
	cbnz	x0, LBB0_19
; %bb.18:
	ldr	x0, [sp]
	mov	w1, #37
	bl	_strchr
	cbz	x0, LBB0_22
LBB0_19:
	mov	w8, #1
	str	w8, [x21]
LBB0_20:
	mov	w0, #0
	ldr	x8, [sp]
	str	x8, [x21, #8]
LBB0_21:
	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
LBB0_22:
	mov	w8, #1
	str	w8, [x21, #4]
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pretty."

	.comm	_builtin_formats_len,4,2        ; @builtin_formats_len
	.comm	_commit_formats,8,3             ; @commit_formats
	.comm	_commit_formats_len,4,2         ; @commit_formats_len
	.comm	_commit_formats_alloc,4,2       ; @commit_formats_alloc
	.comm	_CMIT_FMT_USERFORMAT,4,2        ; @CMIT_FMT_USERFORMAT
l_.str.1:                               ; @.str.1
	.asciz	"format:"

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

	.no_dead_strip	_git_pretty_formats_config
.subsections_via_symbols
