	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_with_options
_push_with_options:                     ## @push_with_options
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_verbosity@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	_progress@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_transport_set_verbosity
	movq	_family@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_receivepack@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_TRANS_OPT_RECEIVEPACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_transport_set_option
LBB0_2:
	movq	_TRANS_OPT_THIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_thin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	%rbx, %rdi
	callq	_transport_set_option
	movq	_cas@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_is_empty_cas
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_CAS_OPT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
	movq	8(%rbx), %rax
LBB0_5:
	movq	%r12, (%rax)
LBB0_6:
	cmpq	$0, (%r13)
	jle	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	(%rbx), %rdx
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_fprintf
LBB0_8:
	movq	_the_repository@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %r12
	leaq	L_.str.4(%rip), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_trace2_region_enter
	movl	(%r15), %edi
	leaq	-48(%rbp), %r8
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_transport_push
	movl	%eax, %r14d
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_trace2_region_leave
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	_PUSH_COLOR_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_push_get_color
	leaq	L_.str.5(%rip), %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_fprintf
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_error
	movl	(%r13), %r15d
	movq	_PUSH_COLOR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_push_get_color
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_10:
	movq	%rbx, %rdi
	callq	_transport_disconnect
	orl	%r14d, %eax
	je	LBB0_11
## %bb.12:
	movl	-48(%rbp), %eax
	movq	_REJECT_NON_FF_HEAD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	xorl	%eax, %eax
	callq	_advise_pull_before_push
	movl	$1, %ebx
	jmp	LBB0_22
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_14:
	movq	_REJECT_NON_FF_OTHER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_advise_checkout_pull_push
	movl	$1, %ebx
	jmp	LBB0_22
LBB0_16:
	movq	_REJECT_ALREADY_EXISTS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_advise_ref_already_exists
	movl	$1, %ebx
	jmp	LBB0_22
LBB0_18:
	movq	_REJECT_FETCH_FIRST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_advise_ref_fetch_first
	movl	$1, %ebx
	jmp	LBB0_22
LBB0_20:
	movq	_REJECT_NEEDS_FORCE@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	callq	_advise_ref_needs_force
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_progress,4,2                   ## @progress
	.comm	_family,4,2                     ## @family
	.comm	_receivepack,8,3                ## @receivepack
	.comm	_TRANS_OPT_RECEIVEPACK,4,2      ## @TRANS_OPT_RECEIVEPACK
	.comm	_TRANS_OPT_THIN,4,2             ## @TRANS_OPT_THIN
	.comm	_thin,8,3                       ## @thin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"yes"

	.comm	_cas,4,2                        ## @cas
L_.str.1:                               ## @.str.1
	.asciz	"underlying transport does not support --%s option"

	.comm	_CAS_OPT_NAME,4,2               ## @CAS_OPT_NAME
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Pushing to %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"push"

L_.str.4:                               ## @.str.4
	.asciz	"transport_push"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_PUSH_COLOR_ERROR,4,2           ## @PUSH_COLOR_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"failed to push some refs to '%s'"

	.comm	_PUSH_COLOR_RESET,4,2           ## @PUSH_COLOR_RESET
	.comm	_REJECT_NON_FF_HEAD,4,2         ## @REJECT_NON_FF_HEAD
	.comm	_REJECT_NON_FF_OTHER,4,2        ## @REJECT_NON_FF_OTHER
	.comm	_REJECT_ALREADY_EXISTS,4,2      ## @REJECT_ALREADY_EXISTS
	.comm	_REJECT_FETCH_FIRST,4,2         ## @REJECT_FETCH_FIRST
	.comm	_REJECT_NEEDS_FORCE,4,2         ## @REJECT_NEEDS_FORCE
	.no_dead_strip	_push_with_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_with_options
_push_with_options:                     ; @push_with_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _verbosity@GOTPAGE
Lloh1:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
	ldr	x1, [x23]
Lloh2:
	adrp	x8, _progress@GOTPAGE
Lloh3:
	ldr	x8, [x8, _progress@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_transport_set_verbosity
Lloh5:
	adrp	x8, _family@GOTPAGE
Lloh6:
	ldr	x8, [x8, _family@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh8:
	adrp	x8, _receivepack@GOTPAGE
Lloh9:
	ldr	x8, [x8, _receivepack@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	cbz	x2, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _TRANS_OPT_RECEIVEPACK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRANS_OPT_RECEIVEPACK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_transport_set_option
LBB0_2:
Lloh14:
	adrp	x8, _TRANS_OPT_THIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRANS_OPT_THIN@GOTPAGEOFF]
Lloh16:
	adrp	x9, _thin@GOTPAGE
Lloh17:
	ldr	x9, [x9, _thin@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	ldr	x8, [x9]
Lloh20:
	adrp	x9, l_.str@PAGE
Lloh21:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x2, xzr, x9, eq
	mov	x0, x19
	bl	_transport_set_option
Lloh22:
	adrp	x22, _cas@GOTPAGE
Lloh23:
	ldr	x22, [x22, _cas@GOTPAGEOFF]
	mov	x0, x22
	bl	_is_empty_cas
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh24:
	adrp	x8, _CAS_OPT_NAME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CAS_OPT_NAME@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	ldr	x8, [x19, #8]
LBB0_5:
	str	x22, [x8]
LBB0_6:
	ldr	x8, [x23]
Lloh29:
	adrp	x24, _stderr@GOTPAGE
Lloh30:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	w22, [x24]
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	x2, [x19]
	mov	x0, x22
	bl	_fprintf
LBB0_8:
Lloh33:
	adrp	x25, _the_repository@GOTPAGE
Lloh34:
	ldr	x25, [x25, _the_repository@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh35:
	adrp	x22, l_.str.3@PAGE
Lloh36:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh37:
	adrp	x23, l_.str.4@PAGE
Lloh38:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	bl	_trace2_region_enter
	ldr	w0, [x25]
	add	x4, sp, #12
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_transport_push
	mov	x20, x0
	ldr	w2, [x25]
	mov	x0, x22
	mov	x1, x23
	bl	_trace2_region_leave
	cbz	w20, LBB0_10
; %bb.9:
	ldr	w21, [x24]
Lloh39:
	adrp	x8, _PUSH_COLOR_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PUSH_COLOR_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_push_get_color
	mov	x2, x0
Lloh42:
	adrp	x22, l_.str.5@PAGE
Lloh43:
	add	x22, x22, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_fprintf
Lloh44:
	adrp	x0, l_.str.6@PAGE
Lloh45:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	ldr	x1, [x19]
	bl	_error
	ldr	w21, [x24]
Lloh46:
	adrp	x8, _PUSH_COLOR_RESET@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PUSH_COLOR_RESET@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_push_get_color
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_fprintf
LBB0_10:
	mov	x0, x19
	bl	_transport_disconnect
	orr	w8, w0, w20
	cbz	w8, LBB0_13
; %bb.11:
	ldr	w8, [sp, #12]
Lloh49:
	adrp	x9, _REJECT_NON_FF_HEAD@GOTPAGE
Lloh50:
	ldr	x9, [x9, _REJECT_NON_FF_HEAD@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
	bl	_advise_pull_before_push
	b	LBB0_22
LBB0_13:
	mov	w0, #0
	b	LBB0_23
LBB0_14:
Lloh52:
	adrp	x9, _REJECT_NON_FF_OTHER@GOTPAGE
Lloh53:
	ldr	x9, [x9, _REJECT_NON_FF_OTHER@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	bl	_advise_checkout_pull_push
	b	LBB0_22
LBB0_16:
Lloh55:
	adrp	x9, _REJECT_ALREADY_EXISTS@GOTPAGE
Lloh56:
	ldr	x9, [x9, _REJECT_ALREADY_EXISTS@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	bl	_advise_ref_already_exists
	b	LBB0_22
LBB0_18:
Lloh58:
	adrp	x9, _REJECT_FETCH_FIRST@GOTPAGE
Lloh59:
	ldr	x9, [x9, _REJECT_FETCH_FIRST@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	bl	_advise_ref_fetch_first
	b	LBB0_22
LBB0_20:
Lloh61:
	adrp	x9, _REJECT_NEEDS_FORCE@GOTPAGE
Lloh62:
	ldr	x9, [x9, _REJECT_NEEDS_FORCE@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	bl	_advise_ref_needs_force
LBB0_22:
	mov	w0, #1
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_progress,4,2                   ; @progress
	.comm	_family,4,2                     ; @family
	.comm	_receivepack,8,3                ; @receivepack
	.comm	_TRANS_OPT_RECEIVEPACK,4,2      ; @TRANS_OPT_RECEIVEPACK
	.comm	_TRANS_OPT_THIN,4,2             ; @TRANS_OPT_THIN
	.comm	_thin,8,3                       ; @thin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"yes"

	.comm	_cas,4,2                        ; @cas
l_.str.1:                               ; @.str.1
	.asciz	"underlying transport does not support --%s option"

	.comm	_CAS_OPT_NAME,4,2               ; @CAS_OPT_NAME
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Pushing to %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"push"

l_.str.4:                               ; @.str.4
	.asciz	"transport_push"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_PUSH_COLOR_ERROR,4,2           ; @PUSH_COLOR_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"failed to push some refs to '%s'"

	.comm	_PUSH_COLOR_RESET,4,2           ; @PUSH_COLOR_RESET
	.comm	_REJECT_NON_FF_HEAD,4,2         ; @REJECT_NON_FF_HEAD
	.comm	_REJECT_NON_FF_OTHER,4,2        ; @REJECT_NON_FF_OTHER
	.comm	_REJECT_ALREADY_EXISTS,4,2      ; @REJECT_ALREADY_EXISTS
	.comm	_REJECT_FETCH_FIRST,4,2         ; @REJECT_FETCH_FIRST
	.comm	_REJECT_NEEDS_FORCE,4,2         ; @REJECT_NEEDS_FORCE
	.no_dead_strip	_push_with_options
.subsections_via_symbols
