	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filesys_xfs_transaction_begin
_filesys_xfs_transaction_begin:         ## @filesys_xfs_transaction_begin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_pending_saving_binlogpos_logpos@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_vkprintf
	movl	$1, %edi
	callq	_pending_operations_reset
	movq	_tmp_dir@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_delete_file
	movl	(%r14), %edi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_mkdir
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movq	_transaction_id@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_transaction_file_no@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_saving_binlogpos_logpos,8,3 ## @pending_saving_binlogpos_logpos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Begin transaction %d.\n"

	.comm	_tmp_dir,4,2                    ## @tmp_dir
L_.str.1:                               ## @.str.1
	.asciz	"mkdir (%s) fail. %m\n"

	.comm	_transaction_id,4,2             ## @transaction_id
	.comm	_transaction_file_no,8,3        ## @transaction_file_no
	.no_dead_strip	_filesys_xfs_transaction_begin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filesys_xfs_transaction_begin
_filesys_xfs_transaction_begin:         ; @filesys_xfs_transaction_begin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _pending_saving_binlogpos_logpos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pending_saving_binlogpos_logpos@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
	ldr	w2, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	mov	w0, #1
	bl	_pending_operations_reset
Lloh5:
	adrp	x20, _tmp_dir@GOTPAGE
Lloh6:
	ldr	x20, [x20, _tmp_dir@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_delete_file
	ldr	w0, [x20]
	mov	w1, #511
	bl	_mkdir
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _transaction_id@GOTPAGE
Lloh8:
	ldr	x9, [x9, _transaction_id@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x8, _transaction_file_no@GOTPAGE
Lloh11:
	ldr	x8, [x8, _transaction_file_no@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w1, [x20]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_kprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_saving_binlogpos_logpos,8,3 ; @pending_saving_binlogpos_logpos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Begin transaction %d.\n"

	.comm	_tmp_dir,4,2                    ; @tmp_dir
l_.str.1:                               ; @.str.1
	.asciz	"mkdir (%s) fail. %m\n"

	.comm	_transaction_id,4,2             ; @transaction_id
	.comm	_transaction_file_no,8,3        ; @transaction_file_no
	.no_dead_strip	_filesys_xfs_transaction_begin
.subsections_via_symbols
