	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_make_new              ## -- Begin function osm_prtn_make_new
	.p2align	4, 0x90
_osm_prtn_make_new:                     ## @osm_prtn_make_new
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$-32769, %edi                   ## imm = 0xFFFF7FFF
	callq	_cl_hton16
	movl	%eax, %r13d
	andl	%ebx, %r13d
	je	LBB0_1
LBB0_5:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_osm_prtn_new
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movl	8(%rax), %esi
	leaq	4(%rax), %rdx
	movq	%r15, %rdi
	callq	_cl_qmap_insert
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.8:
	movq	%rax, %r14
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_cl_ntoh16
	movl	(%r14), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r12, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_OSM_LOG
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_osm_prtn_delete
	movq	%r14, %rbx
	jmp	LBB0_9
LBB0_1:
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_osm_prtn_find_by_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
LBB0_3:
	movq	%r15, %rdi
	callq	_generate_pkey
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r13d, %edi
	callq	_cl_ntoh16
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r12, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_OSM_LOG
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to create partition '%s' (0x%04x)\n"

	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
L_.str.1:                               ## @.str.1
	.asciz	"Duplicated partition definition: '%s' (0x%04x) prev name '%s'.  Will use it\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_make_new              ; -- Begin function osm_prtn_make_new
	.p2align	2
_osm_prtn_make_new:                     ; @osm_prtn_make_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #-32769
	bl	_cl_hton16
	ands	w22, w0, w22
	b.eq	LBB0_4
LBB0_1:
	mov	x0, x19
	mov	x1, x22
	bl	_osm_prtn_new
	mov	x24, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w1, [x24, #8]
	add	x2, x24, #4
	mov	x0, x20
	bl	_cl_qmap_insert
	cmp	x24, x0
	b.eq	LBB0_9
; %bb.3:
	mov	x23, x0
Lloh0:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_cl_ntoh16
	mov	x4, x0
	ldr	w8, [x23]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x24
	mov	x3, x19
	bl	_OSM_LOG
	add	x1, sp, #8
	mov	x0, x20
	bl	_osm_prtn_delete
	mov	x24, x23
	b	LBB0_9
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_osm_prtn_find_by_name
	mov	x24, x0
	cbnz	x0, LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_generate_pkey
	mov	x22, x0
	cbnz	w0, LBB0_1
; %bb.7:
	mov	x24, #0
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x22
	bl	_cl_ntoh16
	mov	x4, x0
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_OSM_LOG
LBB0_9:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to create partition '%s' (0x%04x)\n"

	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
l_.str.1:                               ; @.str.1
	.asciz	"Duplicated partition definition: '%s' (0x%04x) prev name '%s'.  Will use it\n"

.subsections_via_symbols
