	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmciamtd_cistpl_device
_pcmciamtd_cistpl_device:               ## @pcmciamtd_cistpl_device
	.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, %r14
	movq	%rsi, %rdi
	leaq	-56(%rbp), %rsi
	callq	_pcmcia_parse_tuple
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	cmpl	$0, -56(%rbp)
	jle	LBB0_6
## %bb.3:
	leaq	L_.str.2(%rip), %r12
	leaq	L_.str.3(%rip), %r13
	leaq	L_.str.4(%rip), %rbx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rax,%r15), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	8(%rax,%r15), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	4(%rax,%r15), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-48(%rbp), %rax
	movl	(%rax,%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	incq	%r14
	movslq	-56(%rbp), %rax
	cmpq	%rax, %r14
	jge	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax
	addq	$16, %r15
	jmp	LBB0_4
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	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	"Common memory:\n"

L_.str.1:                               ## @.str.1
	.asciz	"Region %d, type = %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"Region %d, wp = %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Region %d, speed = %u ns\n"

L_.str.4:                               ## @.str.4
	.asciz	"Region %d, size = %u bytes\n"

	.no_dead_strip	_pcmciamtd_cistpl_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmciamtd_cistpl_device
_pcmciamtd_cistpl_device:               ; @pcmciamtd_cistpl_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x0, x1
	add	x1, sp, #16
	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:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [sp, #24]
	ldr	w9, [x8]
	str	w9, [x19]
	ldr	w9, [sp, #16]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x23, #0
	mov	x24, #0
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh7:
	adrp	x20, l_.str.2@PAGE
Lloh8:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh11:
	adrp	x22, l_.str.4@PAGE
Lloh12:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x23
	ldr	w8, [x8, #12]
	stp	x24, x8, [sp]
	mov	x0, x19
	bl	_pr_debug
	ldr	x8, [sp, #24]
	add	x8, x8, x23
	ldr	w8, [x8, #8]
	stp	x24, x8, [sp]
	mov	x0, x20
	bl	_pr_debug
	ldr	x8, [sp, #24]
	add	x8, x8, x23
	ldr	w8, [x8, #4]
	stp	x24, x8, [sp]
	mov	x0, x21
	bl	_pr_debug
	ldr	x8, [sp, #24]
	ldr	w8, [x8, x23]
	stp	x24, x8, [sp]
	mov	x0, x22
	bl	_pr_debug
	add	x24, x24, #1
	ldrsw	x8, [sp, #16]
	cmp	x24, x8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	add	x23, x23, #16
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Common memory:\n"

l_.str.1:                               ; @.str.1
	.asciz	"Region %d, type = %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"Region %d, wp = %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Region %d, speed = %u ns\n"

l_.str.4:                               ; @.str.4
	.asciz	"Region %d, size = %u bytes\n"

	.no_dead_strip	_pcmciamtd_cistpl_device
.subsections_via_symbols
