	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execute_commands
_execute_commands:                      ## @execute_commands
	.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	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.2:
	leaq	L_.str(%rip), %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rbx)
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	_use_sideband@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.6:
	leaq	-48(%rbp), %r12
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_copy_to_sideband@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	$-1, -48(%rbp)
	movq	%r12, %rdi
	callq	_start_async
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	-48(%rbp), %r13d
	jmp	LBB0_8
LBB0_5:
	xorl	%r13d, %r13d
LBB0_8:
	movq	%rbx, -72(%rbp)
	movq	%r14, -80(%rbp)
	movl	%r13d, -64(%rbp)
	testl	%r13d, %r13d
	setne	%al
	movq	_quiet@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	movl	%eax, -60(%rbp)
	movq	_tmp_objdir@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_tmp_objdir_env
	movl	%eax, -56(%rbp)
	movq	_iterate_receive_command_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_check_connected
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_set_connectivity_errors
LBB0_10:
	movq	_use_sideband@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	-48(%rbp), %rdi
	callq	_finish_async
LBB0_12:
	movq	%rbx, %rdi
	callq	_reject_updates_to_hidden
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_run_receive_hook
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.14:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_29
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, (%rbx)
	jmp	LBB0_17
LBB0_18:
	movq	(%r12), %rdi
	callq	_tmp_objdir_migrate
	testq	%rax, %rax
	js	LBB0_19
## %bb.24:
	movq	$0, (%r12)
	movq	%rbx, %rdi
	callq	_check_aliased_updates
	movq	_head_name_to_free@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_free
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_resolve_refdup
	movl	%eax, (%r15)
	movq	_head_name@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_use_atomic@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.25:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_execute_commands_atomic
	jmp	LBB0_27
LBB0_19:
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.20:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_29
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, (%rbx)
	jmp	LBB0_23
LBB0_26:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_execute_commands_non_atomic
LBB0_27:
	movq	_shallow_update@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_29
## %bb.28:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_warn_if_skipped_connectivity_check
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECK_CONNECTED_INIT,12,2      ## @CHECK_CONNECTED_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unpacker error"

	.comm	_use_sideband,8,3               ## @use_sideband
	.comm	_copy_to_sideband,4,2           ## @copy_to_sideband
	.comm	_quiet,4,2                      ## @quiet
	.comm	_tmp_objdir,8,3                 ## @tmp_objdir
	.comm	_iterate_receive_command_list,4,2 ## @iterate_receive_command_list
L_.str.1:                               ## @.str.1
	.asciz	"pre-receive"

L_.str.2:                               ## @.str.2
	.asciz	"pre-receive hook declined"

L_.str.3:                               ## @.str.3
	.asciz	"unable to migrate objects to permanent storage"

	.comm	_head_name_to_free,4,2          ## @head_name_to_free
L_.str.4:                               ## @.str.4
	.asciz	"HEAD"

	.comm	_head_name,4,2                  ## @head_name
	.comm	_use_atomic,8,3                 ## @use_atomic
	.comm	_shallow_update,8,3             ## @shallow_update
	.no_dead_strip	_execute_commands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execute_commands
_execute_commands:                      ; @execute_commands
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	cbz	x1, LBB0_5
; %bb.1:
	cbz	x19, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x19]
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	mov	x21, x3
	mov	x20, x2
Lloh2:
	adrp	x22, _use_sideband@GOTPAGE
Lloh3:
	ldr	x22, [x22, _use_sideband@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh4:
	adrp	x8, _copy_to_sideband@GOTPAGE
Lloh5:
	ldr	x8, [x8, _copy_to_sideband@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #-1
	stp	w9, w8, [sp, #8]
	add	x0, sp, #8
	bl	_start_async
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
LBB0_7:
	stp	x20, x19, [sp, #16]
	cmp	w8, #0
Lloh7:
	adrp	x9, _quiet@GOTPAGE
Lloh8:
	ldr	x9, [x9, _quiet@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ccmp	w9, #0, #0, ne
	cset	w9, eq
	stp	w8, w9, [sp, #32]
Lloh10:
	adrp	x23, _tmp_objdir@GOTPAGE
Lloh11:
	ldr	x23, [x23, _tmp_objdir@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_tmp_objdir_env
	str	w0, [sp, #40]
Lloh12:
	adrp	x8, _iterate_receive_command_list@GOTPAGE
Lloh13:
	ldr	x8, [x8, _iterate_receive_command_list@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, sp, #16
	add	x2, sp, #32
	bl	_check_connected
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_set_connectivity_errors
LBB0_9:
	ldr	x8, [x22]
	cbz	x8, LBB0_11
; %bb.10:
	add	x0, sp, #8
	bl	_finish_async
LBB0_11:
	mov	x0, x19
	bl	_reject_updates_to_hidden
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	bl	_run_receive_hook
	cbz	x0, LBB0_17
; %bb.12:
	cbz	x19, LBB0_4
; %bb.13:
Lloh17:
	adrp	x8, l_.str.2@PAGE
Lloh18:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_4
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cbnz	x9, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	str	x8, [x19]
	b	LBB0_14
LBB0_17:
	ldr	x0, [x23]
	bl	_tmp_objdir_migrate
	tbnz	x0, #63, LBB0_20
; %bb.18:
	str	xzr, [x23]
	mov	x0, x19
	bl	_check_aliased_updates
Lloh19:
	adrp	x21, _head_name_to_free@GOTPAGE
Lloh20:
	ldr	x21, [x21, _head_name_to_free@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_free
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_resolve_refdup
	str	w0, [x21]
Lloh23:
	adrp	x8, _head_name@GOTPAGE
Lloh24:
	ldr	x8, [x8, _head_name@GOTPAGEOFF]
Lloh25:
	str	w0, [x8]
Lloh26:
	adrp	x8, _use_atomic@GOTPAGE
Lloh27:
	ldr	x8, [x8, _use_atomic@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	bl	_execute_commands_atomic
	b	LBB0_26
LBB0_20:
	cbz	x19, LBB0_4
; %bb.21:
Lloh29:
	adrp	x8, l_.str.3@PAGE
Lloh30:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_4
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cbnz	x9, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	str	x8, [x19]
	b	LBB0_22
LBB0_25:
	mov	x0, x19
	mov	x1, x20
	bl	_execute_commands_non_atomic
LBB0_26:
Lloh31:
	adrp	x8, _shallow_update@GOTPAGE
Lloh32:
	ldr	x8, [x8, _shallow_update@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.27:
	mov	x0, x19
	mov	x1, x20
	bl	_warn_if_skipped_connectivity_check
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECK_CONNECTED_INIT,12,2      ; @CHECK_CONNECTED_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unpacker error"

	.comm	_use_sideband,8,3               ; @use_sideband
	.comm	_copy_to_sideband,4,2           ; @copy_to_sideband
	.comm	_quiet,4,2                      ; @quiet
	.comm	_tmp_objdir,8,3                 ; @tmp_objdir
	.comm	_iterate_receive_command_list,4,2 ; @iterate_receive_command_list
l_.str.1:                               ; @.str.1
	.asciz	"pre-receive"

l_.str.2:                               ; @.str.2
	.asciz	"pre-receive hook declined"

l_.str.3:                               ; @.str.3
	.asciz	"unable to migrate objects to permanent storage"

	.comm	_head_name_to_free,4,2          ; @head_name_to_free
l_.str.4:                               ; @.str.4
	.asciz	"HEAD"

	.comm	_head_name,4,2                  ; @head_name
	.comm	_use_atomic,8,3                 ; @use_atomic
	.comm	_shallow_update,8,3             ; @shallow_update
	.no_dead_strip	_execute_commands
.subsections_via_symbols
