	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_branch
_make_branch:                           ## @make_branch
	.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
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_branches_nr@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movslq	%r13d, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_branches@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rsi
	cmpq	%rsi, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rcx
	movq	(%rcx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_5
	jmp	LBB0_10
LBB0_6:
	movq	_branches@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	incl	%esi
	movq	_branches_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ALLOC_GROW
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, %r15
	movq	(%rbx), %rax
	movslq	(%r12), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r12)
	movq	%r15, (%rax,%rcx,8)
	movq	%r14, %rdi
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.7:
	movl	%r13d, %esi
	callq	_xstrndup
	jmp	LBB0_12
LBB0_11:
	callq	_xstrdup
LBB0_12:
	movq	%rax, %rsi
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rdi
	callq	_xstrfmt
	movl	%eax, 8(%r15)
	jmp	LBB0_13
LBB0_9:
	movq	(%r15), %rax
LBB0_10:
	movq	(%rax,%rbx,8), %r15
LBB0_13:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_branches_nr,4,2                ## @branches_nr
	.comm	_branches,8,3                   ## @branches
	.comm	_branches_alloc,4,2             ## @branches_alloc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/heads/%s"

	.no_dead_strip	_make_branch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_branch
_make_branch:                           ; @make_branch
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _branches_nr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _branches_nr@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _branches@GOTPAGE
Lloh3:
	ldr	x23, [x23, _branches@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
	sxtw	x24, w20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_strcmp
	cbz	w0, LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x1, [x8]
	mov	x0, x19
	cbz	w20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x20
	bl	_strncmp
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x8, x21, lsl #3]
	ldr	x9, [x9]
	ldr	w9, [x9, x24, lsl #2]
	cbnz	w9, LBB0_3
	b	LBB0_12
LBB0_7:
	ldr	x0, [x23]
	add	w1, w8, #1
Lloh4:
	adrp	x8, _branches_alloc@GOTPAGE
Lloh5:
	ldr	x8, [x8, _branches_alloc@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_ALLOC_GROW
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	mov	x21, x0
	ldr	x8, [x23]
	ldrsw	x9, [x22]
	add	w10, w9, #1
	str	w10, [x22]
	str	x0, [x8, x9, lsl #3]
	mov	x0, x19
	cbz	w20, LBB0_9
; %bb.8:
	mov	x1, x20
	bl	_xstrndup
	b	LBB0_10
LBB0_9:
	bl	_xstrdup
LBB0_10:
	mov	x1, x0
	str	x0, [x21]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xstrfmt
	str	w0, [x21, #8]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x23]
LBB0_12:
	ldr	x21, [x8, x21, lsl #3]
LBB0_13:
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_branches_nr,4,2                ; @branches_nr
	.comm	_branches,8,3                   ; @branches
	.comm	_branches_alloc,4,2             ; @branches_alloc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/heads/%s"

	.no_dead_strip	_make_branch
.subsections_via_symbols
