	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __card_checksum
___card_checksum:                       ## @__card_checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	$0, (%rdx)
	movl	$0, (%rcx)
	xorl	%eax, %eax
	cmpl	$2, %esi
	jl	LBB0_7
## %bb.1:
	shrl	%esi
	cmpl	$1, %esi
	jne	LBB0_3
## %bb.2:
	xorl	%r8d, %r8d
                                        ## implicit-def: $eax
	jmp	LBB0_5
LBB0_3:
	movl	%esi, %r9d
	andl	$-2, %r9d
	xorl	%r8d, %r8d
	movl	$65535, %r10d                   ## imm = 0xFFFF
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r8,4), %eax
	addl	%eax, (%rdx)
	movl	(%rdi,%r8,4), %eax
	xorl	%r10d, %eax
	addl	%eax, (%rcx)
	movl	4(%rdi,%r8,4), %eax
	addl	%eax, (%rdx)
	movl	4(%rdi,%r8,4), %eax
	xorl	%r10d, %eax
	addl	(%rcx), %eax
	movl	%eax, (%rcx)
	addq	$2, %r8
	cmpq	%r8, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %sil
	je	LBB0_7
## %bb.6:
	movl	(%rdi,%r8,4), %eax
	addl	%eax, (%rdx)
	movl	$65535, %eax                    ## imm = 0xFFFF
	xorl	(%rdi,%r8,4), %eax
	addl	(%rcx), %eax
	movl	%eax, (%rcx)
LBB0_7:
	cmpl	$65535, (%rdx)                  ## imm = 0xFFFF
	je	LBB0_8
## %bb.9:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_10
LBB0_11:
	popq	%rbp
	retq
LBB0_8:
	movl	$0, (%rdx)
	movl	(%rcx), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_11
LBB0_10:
	movl	$0, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___card_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __card_checksum
___card_checksum:                       ; @__card_checksum
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	str	wzr, [x2]
	str	wzr, [x3]
	cmp	w1, #2
	b.lt	LBB0_3
; %bb.1:
	lsr	w9, w1, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	ldr	w10, [x2]
	add	w8, w10, w8
	str	w8, [x2]
	ldr	w8, [x0], #4
	eor	w8, w8, #0xffff
	ldr	w10, [x3]
	add	w8, w10, w8
	str	w8, [x3]
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w10, [x2]
	mov	w9, #65535
	cmp	w10, w9
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, w9
	b.eq	LBB0_7
LBB0_5:
	ret
LBB0_6:
	str	wzr, [x2]
	ldr	w8, [x3]
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_7:
	str	wzr, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___card_checksum
.subsections_via_symbols
