	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_add_cardtype                ## -- Begin function gb_add_cardtype
	.p2align	4, 0x90
_gb_add_cardtype:                       ## @gb_add_cardtype
	.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	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rsi
	leal	-21(%rbx), %eax
	cmpl	$3, %eax
	jb	LBB0_5
## %bb.1:
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	ja	LBB0_3
## %bb.2:
	addl	$-240, %ebx
LBB0_4:
	movq	_gb_card_type_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rsi
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strcat                         ## TAILCALL
LBB0_3:
	movq	_GB_CAM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\ncard\t"

	.comm	_gb_card_type_str,8,3           ## @gb_card_type_str
L_.str.1:                               ## @.str.1
	.asciz	"XXX"

	.comm	_GB_CAM,4,2                     ## @GB_CAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_add_cardtype                ; -- Begin function gb_add_cardtype
	.p2align	2
_gb_add_cardtype:                       ; @gb_add_cardtype
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
	sub	w8, w20, #21
	cmp	w8, #3
	b.lo	LBB0_5
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.2:
	sub	w20, w20, #240
LBB0_3:
Lloh2:
	adrp	x8, _gb_card_type_str@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gb_card_type_str@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x1, [x8, w20, sxtw #3]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _GB_CAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GB_CAM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ge	LBB0_3
LBB0_5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strcat
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\ncard\t"

	.comm	_gb_card_type_str,8,3           ; @gb_card_type_str
l_.str.1:                               ; @.str.1
	.asciz	"XXX"

	.comm	_GB_CAM,4,2                     ; @GB_CAM
.subsections_via_symbols
