	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmciamtd_cistpl_geo
_pcmciamtd_cistpl_geo:                  ## @pcmciamtd_cistpl_geo
	.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
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	leaq	-56(%rbp), %rsi
	callq	_pcmcia_parse_tuple
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	-48(%rbp), %rax
	movl	20(%rax), %edx
	movl	%edx, (%rbx)
	cmpl	$0, -56(%rbp)
	jle	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rbx
	leaq	L_.str.4(%rip), %r14
	leaq	L_.str.5(%rip), %r15
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	16(%rax,%r13), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	12(%rax,%r13), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	8(%rax,%r13), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	4(%rax,%r13), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	(%rax,%r13), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_pr_debug
	incq	%r12
	movslq	-56(%rbp), %rax
	cmpq	%rax, %r12
	jge	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax
	movl	44(%rax,%r13), %edx
	addq	$24, %r13
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"region: %d bankwidth = %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"region: %d erase_block = %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"region: %d read_block = %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"region: %d write_block = %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"region: %d partition = %u\n"

L_.str.5:                               ## @.str.5
	.asciz	"region: %d interleave = %u\n"

	.no_dead_strip	_pcmciamtd_cistpl_geo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmciamtd_cistpl_geo
_pcmciamtd_cistpl_geo:                  ; @pcmciamtd_cistpl_geo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x0, x1
	mov	x1, sp
	bl	_pcmcia_parse_tuple
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w2, [x8, #20]
	str	w2, [x19]
	ldr	w8, [sp]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x26, #0
	mov	x19, #0
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh11:
	adrp	x24, l_.str.4@PAGE
Lloh12:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh13:
	adrp	x25, l_.str.5@PAGE
Lloh14:
	add	x25, x25, l_.str.5@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_pr_debug
	ldr	x8, [sp, #8]
	add	x8, x8, x26
	ldr	w2, [x8, #16]
	mov	x0, x21
	mov	x1, x19
	bl	_pr_debug
	ldr	x8, [sp, #8]
	add	x8, x8, x26
	ldr	w2, [x8, #12]
	mov	x0, x22
	mov	x1, x19
	bl	_pr_debug
	ldr	x8, [sp, #8]
	add	x8, x8, x26
	ldr	w2, [x8, #8]
	mov	x0, x23
	mov	x1, x19
	bl	_pr_debug
	ldr	x8, [sp, #8]
	add	x8, x8, x26
	ldr	w2, [x8, #4]
	mov	x0, x24
	mov	x1, x19
	bl	_pr_debug
	ldr	x8, [sp, #8]
	ldr	w2, [x8, x26]
	mov	x0, x25
	mov	x1, x19
	bl	_pr_debug
	add	x19, x19, #1
	ldrsw	x8, [sp]
	cmp	x19, x8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	add	x8, x8, x26
	ldr	w2, [x8, #44]
	add	x26, x26, #24
	b	LBB0_4
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"region: %d bankwidth = %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"region: %d erase_block = %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"region: %d read_block = %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"region: %d write_block = %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"region: %d partition = %u\n"

l_.str.5:                               ; @.str.5
	.asciz	"region: %d interleave = %u\n"

	.no_dead_strip	_pcmciamtd_cistpl_geo
.subsections_via_symbols
