	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Gazel_card_msg
_Gazel_card_msg:                        ## @Gazel_card_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$131, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_10
## %bb.3:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_reset_gazel
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_inithscxisac
	movl	16(%rbx), %eax
	movq	_R647@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	movq	_R685@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%al
	orb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_9
## %bb.6:
	movq	_MAX_WAITING_CALLS@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	jl	LBB0_9
## %bb.7:
	movq	8(%rbx), %rcx
	movq	$-1, %rdx
	movabsq	$150323855391, %rsi             ## imm = 0x230000001F
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, 8(%rcx,%rdx,8)
	movslq	(%rax), %rdi
	incq	%rdx
	cmpq	%rdi, %rdx
	jle	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_10
LBB0_4:
	movq	%rbx, %rdi
	callq	_release_io_gazel
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R647,4,2                       ## @R647
	.comm	_R685,4,2                       ## @R685
	.comm	_MAX_WAITING_CALLS,4,2          ## @MAX_WAITING_CALLS
	.no_dead_strip	_Gazel_card_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function Gazel_card_msg
lCPI0_0:
	.long	31                              ; 0x1f
	.long	35                              ; 0x23
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_Gazel_card_msg:                        ; @Gazel_card_msg
	.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
	cmp	w1, #131
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_gazel
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_release_io_gazel
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	w1, #1
	bl	_inithscxisac
	ldr	w8, [x19, #16]
Lloh0:
	adrp	x9, _R647@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R647@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _R685@GOTPAGE
Lloh4:
	ldr	x10, [x10, _R685@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w10
	ccmp	w8, w9, #4, ne
Lloh6:
	adrp	x8, _MAX_WAITING_CALLS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_WAITING_CALLS@GOTPAGEOFF]
	ldr	w9, [x8]
	ccmn	w9, #1, #8, eq
	b.lt	LBB0_8
; %bb.6:
	mov	x10, #0
	ldr	x9, [x19, #8]
Lloh8:
	adrp	x11, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x11, lCPI0_0@PAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	d0, [x9, x10, lsl #3]
	add	x11, x10, #1
	ldrsw	x12, [x8]
	cmp	x10, x12
	mov	x10, x11
	b.le	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_R647,4,2                       ; @R647
	.comm	_R685,4,2                       ; @R685
	.comm	_MAX_WAITING_CALLS,4,2          ; @MAX_WAITING_CALLS
	.no_dead_strip	_Gazel_card_msg
.subsections_via_symbols
