	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_session
_add_session:                           ## @add_session
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, -16(%rbp)
	movq	%rdi, -40(%rbp)
	movl	$8, -48(%rbp)
	leaq	-16(%rbp), %rax
	movq	%rax, -24(%rbp)
	movl	$8, -32(%rbp)
	movq	_session_db@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rax
	movq	(%rax), %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_emergency
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_session_db,8,3                 ## @session_db
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"insert %d: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_add_session
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_session
_add_session:                           ; @add_session
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stur	x0, [x29, #-24]
	str	x0, [sp, #32]
	mov	w8, #8
	str	w8, [sp, #24]
	sub	x9, x29, #24
	str	x9, [sp, #16]
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _session_db@GOTPAGE
Lloh1:
	ldr	x8, [x8, _session_db@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x8, [x0]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	w3, #0
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	ldur	x8, [x29, #-24]
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_emergency
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_session_db,8,3                 ; @session_db
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"insert %d: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_add_session
.subsections_via_symbols
