	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_hook_cmd
_run_hook_cmd:                          ## @run_hook_cmd
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	16(%rbp), %rdi
	movl	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	testq	%r14, %r14
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movq	$0, -64(%rbp)
LBB0_2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	callq	_svn_pool_create
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_3
## %bb.6:
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_hash_gets
	movq	%rax, %rdi
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_svn_hash_gets
	movq	%rax, %rdi
	jmp	LBB0_8
LBB0_4:
	movq	_SVN_NULL_DEVICE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_APR_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rdi
	movq	16(%rbp), %r8
	callq	_apr_file_open
	movq	16(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_20
LBB0_3:
	xorl	%edi, %edi
LBB0_8:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	setne	%bl
	movq	16(%rbp), %r15
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_env_from_env_hash
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r8d
	pushq	%r13
	pushq	$0
	pushq	%r10
	pushq	-64(%rbp)
	pushq	%rbx
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r9
	callq	_svn_io_start_cmd3
	addq	$64, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	movq	_SVN_ERR_REPOS_BAD_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_svn_error_createf
	jmp	LBB0_11
LBB0_9:
	movl	-52(%rbp), %ecx
	leaq	-56(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %r8
	callq	_check_hook_result
LBB0_11:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_15
## %bb.12:
	testq	%rbx, %rbx
	jne	LBB0_15
## %bb.13:
	movl	-56(%rbp), %esi
	leaq	-96(%rbp), %rdi
	movq	16(%rbp), %rdx
	callq	_svn_stringbuf_from_aprfile
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	-96(%rbp), %rdi
	callq	_svn_stringbuf__morph_into_string
	movq	%rax, (%r14)
LBB0_15:
	movq	%r13, %rdi
	callq	_svn_pool_destroy
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.16:
	callq	_apr_file_close
	testq	%rbx, %rbx
	jne	LBB0_19
## %bb.17:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_svn_error_wrap_apr
	jmp	LBB0_20
LBB0_19:
	movq	%rbx, %rdi
	callq	_svn_error_trace
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NULL_DEVICE_NAME,4,2       ## @SVN_NULL_DEVICE_NAME
	.comm	_APR_WRITE,4,2                  ## @APR_WRITE
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't create null stdout for hook '%s'"

	.comm	_SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION,8,3 ## @SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION
L_.str.1:                               ## @.str.1
	.asciz	"."

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_REPOS_BAD_ARGS,4,2     ## @SVN_ERR_REPOS_BAD_ARGS
L_.str.2:                               ## @.str.2
	.asciz	"Failed to start '%s' hook"

L_.str.3:                               ## @.str.3
	.asciz	"Error closing null file"

	.no_dead_strip	_run_hook_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_hook_cmd
_run_hook_cmd:                          ; @run_hook_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x6
	mov	x24, x5
	mov	x26, x4
	mov	x25, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	str	wzr, [sp, #64]
	str	xzr, [sp, #56]
	cbz	x0, LBB0_5
; %bb.1:
	str	xzr, [sp, #72]
LBB0_2:
	mov	x0, x20
	bl	_svn_pool_create
	mov	x21, x0
	cbz	x26, LBB0_7
; %bb.3:
	mov	x0, x26
	mov	x1, x23
	bl	_svn_hash_gets
	cbnz	x0, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x26
	bl	_svn_hash_gets
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _SVN_NULL_DEVICE_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NULL_DEVICE_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _APR_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x0, sp, #72
	mov	x4, x20
	bl	_apr_file_open
	cbz	x0, LBB0_2
; %bb.6:
	mov	x21, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	str	x22, [sp]
	mov	x0, x21
	bl	_svn_error_wrap_apr
	b	LBB0_19
LBB0_7:
	mov	x0, #0
LBB0_8:
	cmp	x19, #0
	cset	w26, ne
	mov	x1, x20
	mov	x2, x20
	bl	_env_from_env_hash
	mov	x4, x0
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	ldr	x8, [sp, #72]
Lloh17:
	adrp	x9, _TRUE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	xzr, x21, [sp, #24]
	str	w9, [sp, #16]
	str	x8, [sp, #8]
	str	w26, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #56
	mov	x2, x22
	mov	x3, x25
	mov	x6, x5
	mov	x7, x24
	bl	_svn_io_start_cmd3
	cbz	x0, LBB0_10
; %bb.9:
	mov	x24, x0
Lloh22:
	adrp	x8, _SVN_ERR_REPOS_BAD_ARGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SVN_ERR_REPOS_BAD_ARGS@GOTPAGEOFF]
Lloh24:
	ldr	w23, [x8]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	x3, x22
	bl	_svn_error_createf
	mov	x22, x0
	cbnz	x19, LBB0_11
	b	LBB0_14
LBB0_10:
	ldr	w3, [sp, #60]
	add	x2, sp, #56
	mov	x0, x23
	mov	x1, x22
	mov	x4, x20
	bl	_check_hook_result
	mov	x22, x0
	cbz	x19, LBB0_14
LBB0_11:
	cbnz	x22, LBB0_14
; %bb.12:
	ldr	w1, [sp, #56]
	add	x0, sp, #48
	mov	x2, x20
	bl	_svn_stringbuf_from_aprfile
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	x0, [sp, #48]
	bl	_svn_stringbuf__morph_into_string
	str	x0, [x19]
LBB0_14:
	mov	x0, x21
	bl	_svn_pool_destroy
	ldr	x0, [sp, #72]
	cbz	x0, LBB0_18
; %bb.15:
	bl	_apr_file_close
	cbnz	x22, LBB0_18
; %bb.16:
	mov	x19, x0
	cbz	x0, LBB0_18
; %bb.17:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_svn_error_wrap_apr
	b	LBB0_19
LBB0_18:
	mov	x0, x22
	bl	_svn_error_trace
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NULL_DEVICE_NAME,4,2       ; @SVN_NULL_DEVICE_NAME
	.comm	_APR_WRITE,4,2                  ; @APR_WRITE
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't create null stdout for hook '%s'"

	.comm	_SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION,8,3 ; @SVN_REPOS__HOOKS_ENV_DEFAULT_SECTION
l_.str.1:                               ; @.str.1
	.asciz	"."

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_REPOS_BAD_ARGS,4,2     ; @SVN_ERR_REPOS_BAD_ARGS
l_.str.2:                               ; @.str.2
	.asciz	"Failed to start '%s' hook"

l_.str.3:                               ; @.str.3
	.asciz	"Error closing null file"

	.no_dead_strip	_run_hook_cmd
.subsections_via_symbols
