	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_pending_jade_ints        ## -- Begin function clear_pending_jade_ints
	.p2align	4, 0x90
_clear_pending_jade_ints:               ## @clear_pending_jade_ints
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_jade_HDLC_IMR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	*8(%rdi)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	*8(%rbx)
	movq	_jade_HDLC_ISR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rbx)
	leaq	L_.str(%rip), %rsi
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_debugl1
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_debugl1
	movq	_jade_HDLC_STAR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_debugl1
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rbx)
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_debugl1
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$248, %ecx
	callq	*8(%rbx)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$248, %ecx
	callq	*8(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_jade_HDLC_IMR,4,2              ## @jade_HDLC_IMR
	.comm	_jade_HDLC_ISR,4,2              ## @jade_HDLC_ISR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"jade B ISTA %x"

L_.str.1:                               ## @.str.1
	.asciz	"jade A ISTA %x"

	.comm	_jade_HDLC_STAR,4,2             ## @jade_HDLC_STAR
L_.str.2:                               ## @.str.2
	.asciz	"jade B STAR %x"

L_.str.3:                               ## @.str.3
	.asciz	"jade A STAR %x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_pending_jade_ints        ; -- Begin function clear_pending_jade_ints
	.p2align	2
_clear_pending_jade_ints:               ; @clear_pending_jade_ints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x20, _jade_HDLC_IMR@GOTPAGE
Lloh4:
	ldr	x20, [x20, _jade_HDLC_IMR@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #0
	blr	x8
	ldr	x8, [x19]
Lloh5:
	adrp	x21, _jade_HDLC_ISR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _jade_HDLC_ISR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_debugl1
	ldr	x8, [x19]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_debugl1
	ldr	x8, [x19]
Lloh11:
	adrp	x21, _jade_HDLC_STAR@GOTPAGE
Lloh12:
	ldr	x21, [x21, _jade_HDLC_STAR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_debugl1
	ldr	x8, [x19]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_debugl1
	ldr	x8, [x19, #8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #248
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #248
	blr	x8
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jade_HDLC_IMR,4,2              ; @jade_HDLC_IMR
	.comm	_jade_HDLC_ISR,4,2              ; @jade_HDLC_ISR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"jade B ISTA %x"

l_.str.1:                               ; @.str.1
	.asciz	"jade A ISTA %x"

	.comm	_jade_HDLC_STAR,4,2             ; @jade_HDLC_STAR
l_.str.2:                               ; @.str.2
	.asciz	"jade B STAR %x"

l_.str.3:                               ; @.str.3
	.asciz	"jade A STAR %x"

.subsections_via_symbols
