	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_pre_push_hook
_run_pre_push_hook:                     ## @run_pre_push_hook
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	callq	_find_hook
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -112(%rbp)
	movl	$-1, -104(%rbp)
	movq	%r15, -96(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-112(%rbp), %rdi
	callq	_finish_command
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_4:
	movq	_SIGPIPE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sigchain_push
	leaq	-88(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_strbuf_init
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.5:
	movq	_REF_STATUS_REJECT_NONFASTFORWARD@GOTPCREL(%rip), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_REF_STATUS_REJECT_STALE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_REF_STATUS_UPTODATE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-88(%rbp), %rdi
	callq	_strbuf_reset
	movq	24(%rbx), %rax
	movl	(%rax), %r12d
	leaq	16(%rbx), %rdi
	callq	_oid_to_hex
	movl	%eax, %r13d
	movl	12(%rbx), %r15d
	leaq	8(%rbx), %rdi
	callq	_oid_to_hex
	leaq	-88(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_strbuf_addf
	movl	-104(%rbp), %edi
	movl	-88(%rbp), %edx
	movl	-84(%rbp), %esi
	callq	_write_in_full
	testq	%rax, %rax
	jns	LBB0_12
## %bb.11:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%bl
	movq	_SIGPIPE@GOTPCREL(%rip), %r14
	jmp	LBB0_15
LBB0_13:
	movq	_SIGPIPE@GOTPCREL(%rip), %r14
LBB0_14:
	movb	$1, %bl
LBB0_15:
	leaq	-88(%rbp), %rdi
	callq	_strbuf_release
	movl	-104(%rbp), %edi
	callq	_close
	testb	%bl, %bl
	movl	$-1, %ebx
	cmovnel	%eax, %ebx
	movl	(%r14), %edi
	callq	_sigchain_pop
	leaq	-112(%rbp), %rdi
	callq	_finish_command
	testl	%ebx, %ebx
	cmovnel	%ebx, %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,24,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pre-push"

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_REF_STATUS_REJECT_NONFASTFORWARD,8,3 ## @REF_STATUS_REJECT_NONFASTFORWARD
	.comm	_REF_STATUS_REJECT_STALE,8,3    ## @REF_STATUS_REJECT_STALE
	.comm	_REF_STATUS_UPTODATE,8,3        ## @REF_STATUS_UPTODATE
L_.str.1:                               ## @.str.1
	.asciz	"%s %s %s %s\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_EPIPE,8,3                      ## @EPIPE
	.no_dead_strip	_run_pre_push_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_pre_push_hook
_run_pre_push_hook:                     ; @run_pre_push_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_find_hook
	str	x0, [sp, #40]
	cbz	x0, LBB0_12
; %bb.1:
	ldp	x9, x8, [x21]
	ldr	x8, [x8]
	stp	x8, x9, [sp, #48]
	str	xzr, [sp, #64]
	add	x8, sp, #40
	str	x8, [sp, #16]
	mov	w8, #-1
	str	w8, [sp, #24]
	str	x20, [sp, #32]
	add	x0, sp, #16
	bl	_start_command
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #16
	bl	_finish_command
	mov	w0, #-1
	b	LBB0_12
LBB0_3:
Lloh8:
	adrp	x24, _SIGPIPE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _SIGPIPE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh10:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_sigchain_push
	add	x0, sp, #8
	mov	w1, #256
	bl	_strbuf_init
	cbz	x19, LBB0_10
; %bb.4:
Lloh13:
	adrp	x25, _REF_STATUS_REJECT_NONFASTFORWARD@GOTPAGE
Lloh14:
	ldr	x25, [x25, _REF_STATUS_REJECT_NONFASTFORWARD@GOTPAGEOFF]
Lloh15:
	adrp	x26, _REF_STATUS_REJECT_STALE@GOTPAGE
Lloh16:
	ldr	x26, [x26, _REF_STATUS_REJECT_STALE@GOTPAGEOFF]
Lloh17:
	adrp	x20, l_.str.1@PAGE
Lloh18:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh19:
	adrp	x27, _REF_STATUS_UPTODATE@GOTPAGE
Lloh20:
	ldr	x27, [x27, _REF_STATUS_UPTODATE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x19, #32]
	cbz	x19, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x25]
	ldr	x10, [x26]
	ldr	x11, [x27]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	x8, [x19, #24]
	ldr	w21, [x8]
	add	x0, x19, #16
	bl	_oid_to_hex
	mov	x22, x0
	ldr	w23, [x19, #12]
	add	x0, x19, #8
	bl	_oid_to_hex
	mov	x5, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_strbuf_addf
	ldr	w0, [sp, #24]
	ldp	w2, w1, [sp, #8]
	bl	_write_in_full
	tbz	x0, #63, LBB0_5
; %bb.9:
Lloh21:
	adrp	x8, _errno@GOTPAGE
Lloh22:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _EPIPE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _EPIPE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w19, eq
	b	LBB0_11
LBB0_10:
	mov	w19, #1
LBB0_11:
	add	x0, sp, #8
	bl	_strbuf_release
	ldr	w0, [sp, #24]
	bl	_close
	cmp	w19, #0
	csinv	w19, w0, wzr, ne
	ldr	w0, [x24]
	bl	_sigchain_pop
	add	x0, sp, #16
	bl	_finish_command
	cmp	w19, #0
	csel	w0, w0, w19, eq
LBB0_12:
	ldr	x8, [sp, #72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,24,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pre-push"

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_REF_STATUS_REJECT_NONFASTFORWARD,8,3 ; @REF_STATUS_REJECT_NONFASTFORWARD
	.comm	_REF_STATUS_REJECT_STALE,8,3    ; @REF_STATUS_REJECT_STALE
	.comm	_REF_STATUS_UPTODATE,8,3        ; @REF_STATUS_UPTODATE
l_.str.1:                               ; @.str.1
	.asciz	"%s %s %s %s\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_EPIPE,8,3                      ; @EPIPE
	.no_dead_strip	_run_pre_push_hook
.subsections_via_symbols
