	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_infr
_load_infr:                             ## @load_infr
	.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	%rdi, %rbx
	leaq	12(%rdi), %rax
	movl	12(%rdi), %ecx
	movl	%ecx, -40(%rbp)
	movq	%rax, -48(%rbp)
	movl	(%rdx), %eax
	movl	%eax, -52(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -56(%rbp)
	callq	_cl_plock_excl_acquire
	leaq	8(%rbx), %r15
	leaq	4(%rbx), %r14
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_osm_infr_get_by_rec
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_OSM_LOG
	jmp	LBB0_5
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_osm_infr_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_OSM_LOG
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_osm_infr_insert_to_db
LBB0_5:
	xorl	%r14d, %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_cl_plock_release
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_OSM_LOG
	movl	$-1, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"InformInfo Record already exists\n"

	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate new infr struct\n"

	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"adding InformInfo Record...\n"

	.no_dead_strip	_load_infr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_infr
_load_infr:                             ; @load_infr
	.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	x19, x0
	mov	x8, x0
	ldr	w9, [x8, #12]!
	str	w9, [sp, #24]
	str	x8, [sp, #16]
	ldr	w8, [x2]
	ldr	w9, [x1]
	stp	w9, w8, [sp, #8]
	bl	_cl_plock_excl_acquire
	add	x21, x19, #8
	add	x20, x19, #4
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_osm_infr_get_by_rec
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_OSM_LOG
	b	LBB0_4
LBB0_2:
	add	x0, sp, #8
	bl	_osm_infr_new
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
Lloh5:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_OSM_LOG
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_osm_infr_insert_to_db
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_cl_plock_release
	mov	x0, x20
	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
LBB0_6:
Lloh10:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_OSM_LOG
	mov	w20, #-1
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"InformInfo Record already exists\n"

	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate new infr struct\n"

	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"adding InformInfo Record...\n"

	.no_dead_strip	_load_infr
.subsections_via_symbols
