	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_transaction_f              ## -- Begin function get_transaction_f
	.p2align	4, 0x90
_get_transaction_f:                     ## @get_transaction_f
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_HASH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movslq	%eax, %rcx
	movq	_H@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	leaq	(%rax,%rcx,8), %r14
	movq	(%rax,%rcx,8), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.1:
	cmpl	%ebx, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rax
	jmp	LBB0_7
LBB0_3:
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.6:
	addq	$8, %rdi
	movq	%rdi, %r14
LBB0_7:
	movq	8(%rax), %rdi
	movq	%rdi, (%r14)
	testl	%esi, %esi
	js	LBB0_15
## %bb.8:
	movq	(%rdx), %rdx
	movq	(%rdx,%rcx,8), %rsi
	movq	%rsi, 8(%rax)
	movq	%rax, (%rdx,%rcx,8)
	jmp	LBB0_15
LBB0_9:
	testl	%esi, %esi
	jle	LBB0_14
## %bb.10:
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_tot_memory_transactions@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movl	%ebx, (%rax)
	movq	%r15, 8(%rax)
	movq	%rax, (%r14)
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str(%rip), %rdi
	callq	_kprintf
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_MASK,4,2                  ## @HASH_MASK
	.comm	_H,8,3                          ## @H
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_transaction_f: calloc returns NULL. %m\n"

	.comm	_tot_memory_transactions,4,2    ## @tot_memory_transactions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_transaction_f              ; -- Begin function get_transaction_f
	.p2align	2
_get_transaction_f:                     ; @get_transaction_f
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x8, _HASH_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w8, w0
Lloh3:
	adrp	x8, _H@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H@GOTPAGEOFF]
	ldr	x10, [x8]
	add	x20, x10, w9, sxtw #3
	ldr	x21, [x20]
	cbz	x21, LBB0_9
; %bb.1:
	ldr	w10, [x21]
	cmp	w10, w19
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	b	LBB0_7
LBB0_3:
	mov	x0, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x0]
	cmp	w11, w19
	b.ne	LBB0_4
; %bb.6:
	add	x20, x10, #8
LBB0_7:
	ldr	x10, [x0, #8]
	str	x10, [x20]
	tbnz	w1, #31, LBB0_14
; %bb.8:
	sxtw	x9, w9
	ldr	x8, [x8]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	str	x10, [x0, #8]
	str	x0, [x8, x9]
	b	LBB0_14
LBB0_9:
	cmp	w1, #1
	b.lt	LBB0_13
; %bb.10:
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_12
; %bb.11:
Lloh5:
	adrp	x8, _tot_memory_transactions@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tot_memory_transactions@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	str	w19, [x0]
	str	x21, [x0, #8]
	str	x0, [x20]
	b	LBB0_14
LBB0_12:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kprintf
LBB0_13:
	mov	x0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_MASK,4,2                  ; @HASH_MASK
	.comm	_H,8,3                          ; @H
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_transaction_f: calloc returns NULL. %m\n"

	.comm	_tot_memory_transactions,4,2    ; @tot_memory_transactions
.subsections_via_symbols
