	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlc_irq_one
_hdlc_irq_one:                          ## @hdlc_irq_one
	.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
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$16, %edi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_DBG
	movq	_HDLC_INT_RPR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$16, %edi
	xorl	%eax, %eax
	callq	_DBG
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hdlc_rpr_irq
LBB0_2:
	movq	_HDLC_INT_XDU@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$16, %edi
	xorl	%eax, %eax
	callq	_DBG
	movq	%r14, %rdi
	callq	_hdlc_xdu_irq
	jmp	LBB0_6
LBB0_4:
	movq	_HDLC_INT_XPR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movl	$16, %edi
	xorl	%eax, %eax
	callq	_DBG
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hdlc_xpr_irq                   ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ch%d stat %#x"

	.comm	_HDLC_INT_RPR,4,2               ## @HDLC_INT_RPR
L_.str.1:                               ## @.str.1
	.asciz	"RPR"

	.comm	_HDLC_INT_XDU,4,2               ## @HDLC_INT_XDU
L_.str.2:                               ## @.str.2
	.asciz	"XDU"

	.comm	_HDLC_INT_XPR,4,2               ## @HDLC_INT_XPR
L_.str.3:                               ## @.str.3
	.asciz	"XPR"

	.no_dead_strip	_hdlc_irq_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlc_irq_one
_hdlc_irq_one:                          ; @hdlc_irq_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	stp	x8, x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #16
	bl	_DBG
Lloh2:
	adrp	x8, _HDLC_INT_RPR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDLC_INT_RPR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #16
	bl	_DBG
	mov	x0, x19
	mov	x1, x20
	bl	_hdlc_rpr_irq
LBB0_2:
Lloh7:
	adrp	x8, _HDLC_INT_XDU@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDLC_INT_XDU@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #16
	bl	_DBG
	mov	x0, x19
	bl	_hdlc_xdu_irq
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _HDLC_INT_XPR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDLC_INT_XPR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.5:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #16
	bl	_DBG
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_hdlc_xpr_irq
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ch%d stat %#x"

	.comm	_HDLC_INT_RPR,4,2               ; @HDLC_INT_RPR
l_.str.1:                               ; @.str.1
	.asciz	"RPR"

	.comm	_HDLC_INT_XDU,4,2               ; @HDLC_INT_XDU
l_.str.2:                               ; @.str.2
	.asciz	"XDU"

	.comm	_HDLC_INT_XPR,4,2               ; @HDLC_INT_XPR
l_.str.3:                               ; @.str.3
	.asciz	"XPR"

	.no_dead_strip	_hdlc_irq_one
.subsections_via_symbols
