	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_reflog_msg                ## -- Begin function copy_reflog_msg
	.p2align	4, 0x90
_copy_reflog_msg:                       ## @copy_reflog_msg
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$1, %r15d
	movb	$9, %al
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_strbuf_addch
	incq	%r12
	movq	%r12, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%rcx), %r13d
	testb	%r13b, %r13b
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rcx, %r12
	movsbl	%r13b, %ebx
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	%ebx, %edi
	callq	_isspace
	leaq	1(%r12), %rcx
	testl	%eax, %eax
	jne	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_isspace
	movl	%eax, %r15d
	testl	%eax, %eax
	movzbl	%r13b, %eax
	movl	$32, %ecx
	cmovnel	%ecx, %eax
	jmp	LBB0_1
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_rtrim                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_reflog_msg                ; -- Begin function copy_reflog_msg
	.p2align	2
_copy_reflog_msg:                       ; @copy_reflog_msg
	.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
	mov	w21, #1
	mov	w8, #9
	mov	w23, #32
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	sxtb	w1, w8
	mov	x0, x19
	bl	_strbuf_addch
	add	x8, x20, #1
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w24, [x8, #-1]
	cbz	w24, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x20, x8
	sxtb	w22, w24
	cbz	w21, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x22
	bl	_isspace
	add	x8, x20, #1
	cbnz	w0, LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_isspace
	mov	x21, x0
	cmp	w0, #0
	csel	w8, w24, w23, eq
	b	LBB0_1
LBB0_6:
	mov	x0, x19
	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
	b	_strbuf_rtrim
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
