	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_geom_getxml                    ## -- Begin function geom_getxml
	.p2align	4, 0x90
_geom_getxml:                           ## @geom_getxml
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	$3, -80(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-60(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	_sysctlnametomib
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_2:
	movq	-80(%rbp), %rsi
	xorl	%r12d, %r12d
	leaq	-60(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_GEOM_GETXML_SLACK@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rdi
	addq	(%rax), %rdi
	movq	%rdi, -72(%rbp)
	movq	_GEOM_GETXML_RETRIES@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.4:
	leaq	-72(%rbp), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	-80(%rbp), %rsi
	leaq	-60(%rbp), %rdi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_free
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	addq	%rdi, %rdi
	movq	%rdi, -72(%rbp)
	incl	%r14d
	cmpl	(%r13), %r14d
	jl	LBB0_5
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rsi
	movq	%rbx, %rdi
	callq	_reallocf
	movq	%rax, %r12
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kern.geom.confxml"

	.comm	_GEOM_GETXML_SLACK,8,3          ## @GEOM_GETXML_SLACK
	.comm	_GEOM_GETXML_RETRIES,4,2        ## @GEOM_GETXML_RETRIES
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_geom_getxml                    ; -- Begin function geom_getxml
	.p2align	2
_geom_getxml:                           ; @geom_getxml
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w8, #3
	stp	x8, xzr, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #28
	add	x2, sp, #8
	bl	_sysctlnametomib
	mov	x8, x0
	mov	x0, #0
	cbnz	x8, LBB0_10
; %bb.1:
	ldr	x1, [sp, #8]
	add	x0, sp, #28
	add	x3, sp, #16
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	mov	x8, x0
	mov	x0, #0
	cbnz	x8, LBB0_10
; %bb.2:
Lloh5:
	adrp	x8, _GEOM_GETXML_SLACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GEOM_GETXML_SLACK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [sp, #16]
	add	x8, x9, x8
	str	x8, [sp, #16]
Lloh8:
	adrp	x20, _GEOM_GETXML_RETRIES@GOTPAGE
Lloh9:
	ldr	x20, [x20, _GEOM_GETXML_RETRIES@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w21, #0
Lloh10:
	adrp	x22, _errno@GOTPAGE
Lloh11:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh12:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x8
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x0
	ldr	x1, [sp, #8]
	add	x0, sp, #28
	add	x3, sp, #16
	mov	x2, x19
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_free
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	ldr	x8, [sp, #16]
	lsl	x8, x8, #1
	str	x8, [sp, #16]
	add	w21, w21, #1
	ldr	w9, [x20]
	cmp	w21, w9
	b.lt	LBB0_4
	b	LBB0_10
LBB0_8:
	mov	x0, #0
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_strlen
	add	x1, x0, #1
	mov	x0, x19
	bl	_reallocf
LBB0_10:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kern.geom.confxml"

	.comm	_GEOM_GETXML_SLACK,8,3          ; @GEOM_GETXML_SLACK
	.comm	_GEOM_GETXML_RETRIES,4,2        ; @GEOM_GETXML_RETRIES
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
.subsections_via_symbols
