	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysqli_commit_or_rollback_libmysql
_mysqli_commit_or_rollback_libmysql:    ## @mysqli_commit_or_rollback_libmysql
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_mysqli_tx_cor_options_to_string
	movq	%rbx, %rdi
	callq	_smart_str_0
	movq	%r15, %rdi
	callq	_mysqli_escape_string_for_tx_name_in_comment
	movq	%rax, %r15
	testq	%r12, %r12
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r12
	cmoveq	%rax, %r12
	testq	%r15, %r15
	leaq	L_.str.2(%rip), %r8
	movq	%r15, %rbx
	cmoveq	%r8, %rbx
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_ZSTR_VAL
	movq	%rax, %r8
LBB0_2:
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_spprintf
	movq	%rax, %rbx
	leaq	-64(%rbp), %rdi
	callq	_smart_str_free
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_efree
LBB0_4:
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_mysql_real_query
	movl	%eax, %ebx
	movq	-40(%rbp), %rdi
	callq	_efree
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COMMIT%s %s"

L_.str.1:                               ## @.str.1
	.asciz	"ROLLBACK%s %s"

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_mysqli_commit_or_rollback_libmysql
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysqli_commit_or_rollback_libmysql
_mysqli_commit_or_rollback_libmysql:    ; @mysqli_commit_or_rollback_libmysql
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	add	x1, sp, #16
	bl	_mysqli_tx_cor_options_to_string
	add	x0, sp, #16
	bl	_smart_str_0
	mov	x0, x20
	bl	_mysqli_escape_string_for_tx_name_in_comment
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x21, #0
	csel	x21, x9, x8, eq
Lloh4:
	adrp	x4, l_.str.2@PAGE
Lloh5:
	add	x4, x4, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x22, x4, x0, eq
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ZSTR_VAL
	mov	x4, x0
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	x2, x21
	mov	x3, x22
	bl	_spprintf
	mov	x21, x0
	add	x0, sp, #16
	bl	_smart_str_free
	cbz	x20, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_efree
LBB0_4:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_mysql_real_query
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_efree
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COMMIT%s %s"

l_.str.1:                               ; @.str.1
	.asciz	"ROLLBACK%s %s"

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_mysqli_commit_or_rollback_libmysql
.subsections_via_symbols
