	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlc_irq
_hdlc_irq:                              ## @hdlc_irq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	callq	*(%rdi)
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movl	$16, %edi
	movl	$65, %edx
	movl	%eax, %ecx
	callq	_DBG
	movq	_HDLC_INT_MASK@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_hdlc_irq_one
LBB0_2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*(%r14)
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movl	$16, %edi
	movl	$66, %edx
	movl	%eax, %ecx
	callq	_DBG
	testl	%ebx, (%r15)
	je	LBB0_3
## %bb.4:
	movq	8(%r14), %rdi
	addq	$4, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdlc_irq_one                   ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDLC %c stat %#x"

	.comm	_HDLC_INT_MASK,4,2              ## @HDLC_INT_MASK
	.no_dead_strip	_hdlc_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlc_irq
_hdlc_irq:                              ; @hdlc_irq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	mov	w1, #0
	blr	x8
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #16
	mov	w2, #65
	mov	x3, x20
	bl	_DBG
Lloh2:
	adrp	x21, _HDLC_INT_MASK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HDLC_INT_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_hdlc_irq_one
LBB0_2:
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #16
	mov	w2, #66
	mov	x3, x20
	bl	_DBG
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hdlc_irq_one
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDLC %c stat %#x"

	.comm	_HDLC_INT_MASK,4,2              ; @HDLC_INT_MASK
	.no_dead_strip	_hdlc_irq
.subsections_via_symbols
