	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_startproc                      ## -- Begin function startproc
	.p2align	4, 0x90
_startproc:                             ## @startproc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_IS_VALID_CARD
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_CMPID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cmReqType2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cmReqClass0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cmReqStartProc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, %edi
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_sendmessage
	addq	$16, %rsp
	movl	%eax, %r14d
	movq	_sc_adapter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid param: %d is not a valid card id\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CMPID,4,2                      ## @CMPID
	.comm	_cmReqType2,4,2                 ## @cmReqType2
	.comm	_cmReqClass0,4,2                ## @cmReqClass0
	.comm	_cmReqStartProc,4,2             ## @cmReqStartProc
L_.str.1:                               ## @.str.1
	.asciz	"%s: Sent startProc\n"

	.comm	_sc_adapter,8,3                 ## @sc_adapter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_startproc                      ; -- Begin function startproc
	.p2align	2
_startproc:                             ; @startproc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_IS_VALID_CARD
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CMPID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMPID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _cmReqType2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cmReqType2@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _cmReqClass0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cmReqClass0@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _cmReqStartProc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cmReqStartProc@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_sendmessage
	mov	x20, x0
Lloh12:
	adrp	x8, _sc_adapter@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sc_adapter@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, sxtw #3]
	ldr	w1, [x8]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x0, x20
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid param: %d is not a valid card id\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CMPID,4,2                      ; @CMPID
	.comm	_cmReqType2,4,2                 ; @cmReqType2
	.comm	_cmReqClass0,4,2                ; @cmReqClass0
	.comm	_cmReqStartProc,4,2             ; @cmReqStartProc
l_.str.1:                               ; @.str.1
	.asciz	"%s: Sent startProc\n"

	.comm	_sc_adapter,8,3                 ; @sc_adapter
.subsections_via_symbols
