	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conf_pm
_conf_pm:                               ## @conf_pm
	.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	%rcx, %r14
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	%edx, %edi
	jne	LBB0_4
## %bb.1:
	movq	_CHELSIO_GET_PM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_doit
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_3:
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	sarl	$10, %edx
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %r8d
	sarl	$10, %r8d
	movl	-40(%rbp), %r9d
	sarl	$10, %r9d
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_4:
	leal	2(%rdx), %eax
	movl	$-1, %r15d
	cmpl	%edi, %eax
	jne	LBB0_11
## %bb.5:
	movq	%rsi, %rbx
	movslq	%edx, %r12
	movq	(%rsi,%r12,8), %rdi
	leaq	-52(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_get_pm_page_spec
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movq	8(%rbx,%r12,8), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_get_pm_page_spec
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	incq	%r12
LBB0_6:
	movq	(%rbx,%r12,8), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
LBB0_11:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_CHELSIO_SET_PM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_doit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CHELSIO_GET_PM,4,2             ## @CHELSIO_GET_PM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read pm config"

L_.str.1:                               ## @.str.1
	.asciz	"%ux%uKB TX pages, %ux%uKB RX pages, %uKB total memory\n"

L_.str.2:                               ## @.str.2
	.asciz	"bad parameter \"%s\""

	.comm	_CHELSIO_SET_PM,4,2             ## @CHELSIO_SET_PM
L_.str.3:                               ## @.str.3
	.asciz	"pm config"

	.no_dead_strip	_conf_pm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conf_pm
_conf_pm:                               ; @conf_pm
	.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, x3
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w0, w2
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _CHELSIO_GET_PM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHELSIO_GET_PM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_doit
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_3:
	ldp	w1, w8, [sp, #8]
	asr	w2, w8, #10
	ldp	w3, w8, [sp, #16]
	asr	w4, w8, #10
	ldr	w8, [sp, #24]
	asr	w5, w8, #10
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_4:
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	add	w8, w2, #2
	cmp	w8, w0
	b.ne	LBB0_9
; %bb.6:
	mov	x20, x1
	sxtw	x21, w2
	ldr	x0, [x1, w2, sxtw #3]
	add	x22, sp, #8
	orr	x1, x22, #0x4
	add	x2, sp, #8
	bl	_get_pm_page_spec
	cbnz	x0, LBB0_8
; %bb.7:
	add	x21, x21, #1
	ldr	x0, [x20, x21, lsl #3]
	add	x1, x22, #12
	add	x2, x22, #8
	bl	_get_pm_page_spec
	cbz	x0, LBB0_11
LBB0_8:
	ldr	x1, [x20, x21, lsl #3]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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_11:
Lloh9:
	adrp	x8, _CHELSIO_SET_PM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHELSIO_SET_PM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_doit
	tbz	x0, #63, LBB0_4
; %bb.12:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CHELSIO_GET_PM,4,2             ; @CHELSIO_GET_PM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read pm config"

l_.str.1:                               ; @.str.1
	.asciz	"%ux%uKB TX pages, %ux%uKB RX pages, %uKB total memory\n"

l_.str.2:                               ; @.str.2
	.asciz	"bad parameter \"%s\""

	.comm	_CHELSIO_SET_PM,4,2             ; @CHELSIO_SET_PM
l_.str.3:                               ; @.str.3
	.asciz	"pm config"

	.no_dead_strip	_conf_pm
.subsections_via_symbols
