	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function card_settings
_card_settings:                         ## @card_settings
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	(%r15), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	callq	_strcat
LBB0_3:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	callq	_strcat
LBB0_5:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	movq	(%r15), %rax
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	(%rbx), %rdi
	callq	_strcat
LBB0_7:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	movq	(%r15), %rax
	movq	24(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rdi
	callq	_strcat
LBB0_9:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_10:
	movq	_CISTPL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pcmciamtd_cistpl_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_pcmcia_loop_tuple
	movq	_CISTPL_JEDEC_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pcmciamtd_cistpl_jedec@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_pcmcia_loop_tuple
	movq	_CISTPL_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pcmciamtd_cistpl_device@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_pcmcia_loop_tuple
	movq	_CISTPL_DEVICE_GEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pcmciamtd_cistpl_geo@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_pcmcia_loop_tuple
	cmpl	$0, 8(%rbx)
	je	LBB0_11
## %bb.12:
	cmpl	$0, 12(%rbx)
	je	LBB0_13
LBB0_14:
	movq	_force_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_16
## %bb.15:
	movl	%esi, %eax
	shll	$20, %eax
	movl	%eax, 8(%rbx)
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_16:
	movq	_bankwidth@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_18
## %bb.17:
	movl	%esi, 12(%rbx)
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_18:
	movq	(%rbx), %rcx
	movq	%rcx, 16(%rbx)
	cmpb	$0, (%rcx)
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.4(%rip), %rsi
	movq	%rcx, %rdi
	callq	_strcpy
	movl	$1, (%r14)
	movq	(%rbx), %rcx
LBB0_20:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	shll	$3, %edx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_11:
	movq	_MAX_PCMCIA_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	cmpl	$0, 12(%rbx)
	jne	LBB0_14
LBB0_13:
	movl	$2, 12(%rbx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"Found name: %s\n"

	.comm	_CISTPL_FORMAT,4,2              ## @CISTPL_FORMAT
	.comm	_pcmciamtd_cistpl_format,4,2    ## @pcmciamtd_cistpl_format
	.comm	_CISTPL_JEDEC_C,4,2             ## @CISTPL_JEDEC_C
	.comm	_pcmciamtd_cistpl_jedec,4,2     ## @pcmciamtd_cistpl_jedec
	.comm	_CISTPL_DEVICE,4,2              ## @CISTPL_DEVICE
	.comm	_pcmciamtd_cistpl_device,4,2    ## @pcmciamtd_cistpl_device
	.comm	_CISTPL_DEVICE_GEO,4,2          ## @CISTPL_DEVICE_GEO
	.comm	_pcmciamtd_cistpl_geo,4,2       ## @pcmciamtd_cistpl_geo
	.comm	_MAX_PCMCIA_ADDR,4,2            ## @MAX_PCMCIA_ADDR
	.comm	_force_size,4,2                 ## @force_size
L_.str.2:                               ## @.str.2
	.asciz	"size forced to %dM\n"

	.comm	_bankwidth,4,2                  ## @bankwidth
L_.str.3:                               ## @.str.3
	.asciz	"bankwidth forced to %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"PCMCIA Memory card"

L_.str.5:                               ## @.str.5
	.asciz	"Device: Size: %lu Width:%d Name: %s\n"

	.no_dead_strip	_card_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function card_settings
_card_settings:                         ; @card_settings
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x8, [x19]
	strb	wzr, [x8]
	ldr	x8, [x21]
	ldr	x1, [x8]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_strcat
LBB0_3:
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
	ldr	x8, [x21]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	bl	_strcat
LBB0_5:
	ldr	x0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
	ldr	x8, [x21]
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_7
; %bb.6:
	ldr	x0, [x19]
	bl	_strcat
LBB0_7:
	ldr	x0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
	ldr	x8, [x21]
	ldr	x1, [x8, #24]
	cbz	x1, LBB0_9
; %bb.8:
	ldr	x0, [x19]
	bl	_strcat
LBB0_9:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_10:
Lloh8:
	adrp	x8, _CISTPL_FORMAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CISTPL_FORMAT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _pcmciamtd_cistpl_format@GOTPAGE
Lloh12:
	ldr	x8, [x8, _pcmciamtd_cistpl_format@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, #0
	bl	_pcmcia_loop_tuple
Lloh14:
	adrp	x8, _CISTPL_JEDEC_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CISTPL_JEDEC_C@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _pcmciamtd_cistpl_jedec@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pcmciamtd_cistpl_jedec@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, #0
	bl	_pcmcia_loop_tuple
Lloh20:
	adrp	x8, _CISTPL_DEVICE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CISTPL_DEVICE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _pcmciamtd_cistpl_device@GOTPAGE
Lloh24:
	ldr	x8, [x8, _pcmciamtd_cistpl_device@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_pcmcia_loop_tuple
Lloh26:
	adrp	x8, _CISTPL_DEVICE_GEO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CISTPL_DEVICE_GEO@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _pcmciamtd_cistpl_geo@GOTPAGE
Lloh30:
	ldr	x8, [x8, _pcmciamtd_cistpl_geo@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_pcmcia_loop_tuple
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_19
; %bb.11:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_20
LBB0_12:
Lloh32:
	adrp	x8, _force_size@GOTPAGE
Lloh33:
	ldr	x8, [x8, _force_size@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.13:
	lsl	w9, w8, #20
	str	w9, [x19, #8]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_14:
Lloh37:
	adrp	x8, _bankwidth@GOTPAGE
Lloh38:
	ldr	x8, [x8, _bankwidth@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cbz	w8, LBB0_16
; %bb.15:
	str	w8, [x19, #12]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
LBB0_16:
	ldr	x0, [x19]
	str	x0, [x19, #16]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_18
; %bb.17:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcpy
	mov	w8, #1
	str	w8, [x20]
	ldr	x0, [x19]
LBB0_18:
	ldp	w9, w8, [x19, #8]
	lsl	w8, w8, #3
	stp	x8, x0, [sp, #8]
	str	x9, [sp]
Lloh44:
	adrp	x0, l_.str.5@PAGE
Lloh45:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	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_19:
Lloh46:
	adrp	x8, _MAX_PCMCIA_ADDR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MAX_PCMCIA_ADDR@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_12
LBB0_20:
	mov	w8, #2
	str	w8, [x19, #12]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"Found name: %s\n"

	.comm	_CISTPL_FORMAT,4,2              ; @CISTPL_FORMAT
	.comm	_pcmciamtd_cistpl_format,4,2    ; @pcmciamtd_cistpl_format
	.comm	_CISTPL_JEDEC_C,4,2             ; @CISTPL_JEDEC_C
	.comm	_pcmciamtd_cistpl_jedec,4,2     ; @pcmciamtd_cistpl_jedec
	.comm	_CISTPL_DEVICE,4,2              ; @CISTPL_DEVICE
	.comm	_pcmciamtd_cistpl_device,4,2    ; @pcmciamtd_cistpl_device
	.comm	_CISTPL_DEVICE_GEO,4,2          ; @CISTPL_DEVICE_GEO
	.comm	_pcmciamtd_cistpl_geo,4,2       ; @pcmciamtd_cistpl_geo
	.comm	_MAX_PCMCIA_ADDR,4,2            ; @MAX_PCMCIA_ADDR
	.comm	_force_size,4,2                 ; @force_size
l_.str.2:                               ; @.str.2
	.asciz	"size forced to %dM\n"

	.comm	_bankwidth,4,2                  ; @bankwidth
l_.str.3:                               ; @.str.3
	.asciz	"bankwidth forced to %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"PCMCIA Memory card"

l_.str.5:                               ; @.str.5
	.asciz	"Device: Size: %lu Width:%d Name: %s\n"

	.no_dead_strip	_card_settings
.subsections_via_symbols
