	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_make_partitions       ## -- Begin function osm_prtn_make_partitions
	.p2align	4, 0x90
_osm_prtn_make_partitions:              ## @osm_prtn_make_partitions
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movq	8(%rsi), %r13
	testq	%r13, %r13
	jne	LBB0_2
## %bb.1:
	movq	_OSM_DEFAULT_PARTITION_CONFIG_FILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_OSM_LOG
	movq	(%rbx), %r14
LBB0_4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r12, %rdi
	callq	_cl_qmap_head
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_cl_qmap_end
	cmpq	%rax, %rbx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, -48(%rbp)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_cl_qmap_next
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	addq	$4, %rdi
	callq	_cl_map_remove_all
	movq	-48(%rbp), %rdi
	callq	_cl_map_remove_all
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_global_pkey_counter@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edx, %edx
	testq	%r14, %r14
	sete	%dl
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_prtn_make_default
	movq	%rax, %r13
	movq	_IB_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_osm_prtn_config_parse_file
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_OSM_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rbx
	movq	%r12, %rdi
	callq	_cl_qmap_head
	movq	%rax, %r15
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_cl_qmap_end
	cmpq	%rax, %r15
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r15, -48(%rbp)
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_cl_qmap_next
	movq	%rax, %r15
	movq	-48(%rbp), %rdi
	addq	$4, %rdi
	callq	_cl_map_count
	testq	%rax, %rax
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-48(%rbp), %rdi
	callq	_cl_map_count
	testq	%rax, %rax
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_cl_qmap_remove_item
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	callq	_osm_prtn_delete
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r15
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_5
LBB0_20:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_IB_SUCCESS,8,3                 ## @IB_SUCCESS
	.comm	_OSM_DEFAULT_PARTITION_CONFIG_FILE,8,3 ## @OSM_DEFAULT_PARTITION_CONFIG_FILE
	.comm	_OSM_LOG_VERBOSE,4,2            ## @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Partition configuration %s is not accessible (%s)\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_global_pkey_counter,8,3        ## @global_pkey_counter
L_.str.1:                               ## @.str.1
	.asciz	"Partition configuration was not fully processed\n"

	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Partition configuration in error; retrying with default config\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_osm_prtn_make_partitions       ; -- Begin function osm_prtn_make_partitions
	.p2align	2
_osm_prtn_make_partitions:              ; @osm_prtn_make_partitions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
Lloh3:
	adrp	x23, _FALSE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	x28, [x23]
	ldr	x8, [x1, #8]
Lloh5:
	adrp	x9, _OSM_DEFAULT_PARTITION_CONFIG_FILE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OSM_DEFAULT_PARTITION_CONFIG_FILE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x21, x9, x8, eq
	add	x1, sp, #24
	mov	x0, x21
	bl	_stat
Lloh8:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w22, [x8]
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_OSM_LOG
	ldr	x26, [x23]
LBB0_2:
Lloh15:
	adrp	x22, _global_pkey_counter@GOTPAGE
Lloh16:
	ldr	x22, [x22, _global_pkey_counter@GOTPAGEOFF]
Lloh17:
	adrp	x27, _IB_SUCCESS@GOTPAGE
Lloh18:
	ldr	x27, [x27, _IB_SUCCESS@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x19
	bl	_cl_qmap_head
	mov	x24, x0
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_cl_qmap_end
	cmp	x24, x0
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	str	x24, [sp, #16]
	add	x0, x24, #8
	bl	_cl_qmap_next
	mov	x24, x0
	ldr	x8, [sp, #16]
	add	x0, x8, #4
	bl	_cl_map_remove_all
	ldr	x0, [sp, #16]
	bl	_cl_map_remove_all
	b	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x22]
	cmp	x26, #0
	cset	w2, eq
	mov	x0, x20
	mov	x1, x19
	bl	_prtn_make_default
	mov	x24, x0
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x26, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_osm_prtn_config_parse_file
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh19:
	adrp	x8, _OSM_LOG_VERBOSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OSM_LOG_VERBOSE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_OSM_LOG
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	x28, [x8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_cl_qmap_head
	mov	x25, x0
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_cl_qmap_end
	cmp	x25, x0
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	str	x25, [sp, #16]
	add	x0, x25, #8
	bl	_cl_qmap_next
	mov	x25, x0
	ldr	x8, [sp, #16]
	add	x0, x8, #4
	bl	_cl_map_count
	cbnz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x0, [sp, #16]
	bl	_cl_map_count
	cbnz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_cl_qmap_remove_item
	add	x1, sp, #16
	mov	x0, x19
	bl	_osm_prtn_delete
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x26, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x28, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x23
Lloh27:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
Lloh30:
	adrp	x2, l_.str.2@PAGE
Lloh31:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_OSM_LOG
	ldr	x26, [x23]
	b	LBB0_3
LBB0_18:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_IB_SUCCESS,8,3                 ; @IB_SUCCESS
	.comm	_OSM_DEFAULT_PARTITION_CONFIG_FILE,8,3 ; @OSM_DEFAULT_PARTITION_CONFIG_FILE
	.comm	_OSM_LOG_VERBOSE,4,2            ; @OSM_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Partition configuration %s is not accessible (%s)\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_global_pkey_counter,8,3        ; @global_pkey_counter
l_.str.1:                               ; @.str.1
	.asciz	"Partition configuration was not fully processed\n"

	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Partition configuration in error; retrying with default config\n"

.subsections_via_symbols
