	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlc_xdu_irq
_hdlc_xdu_irq:                          ## @hdlc_xdu_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, %rbx
	movq	40(%rdi), %r14
	movq	$0, 32(%rdi)
	movq	_HDLC_CMD_XRS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	%eax, 24(%rdi)
	movl	$1, %esi
	callq	*(%r14)
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 24(%rbx)
	movl	16(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_L1_MODE_HDLC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rsi
	callq	_skb_push
	movq	$0, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$16, %edi
	callq	_DBG
	movq	(%r14), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDLC_CMD_XRS,4,2               ## @HDLC_CMD_XRS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"XDU without skb"

	.comm	_L1_MODE_HDLC,8,3               ## @L1_MODE_HDLC
	.no_dead_strip	_hdlc_xdu_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlc_xdu_irq
_hdlc_xdu_irq:                          ; @hdlc_xdu_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	x20, [x0, #40]
Lloh0:
	adrp	x21, _HDLC_CMD_XRS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HDLC_CMD_XRS@GOTPAGEOFF]
	str	xzr, [x0, #32]
	ldr	w8, [x21]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
	ldr	x8, [x20]
	mov	w1, #1
	blr	x8
	ldr	w8, [x21]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
	ldr	w0, [x19, #16]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _L1_MODE_HDLC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _L1_MODE_HDLC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x1, [x19, #8]
	bl	_skb_push
	str	xzr, [x19, #8]
LBB0_3:
	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
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #16
	bl	_DBG
	ldr	x2, [x20]
	mov	x0, x19
	mov	w1, #1
	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
	br	x2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HDLC_CMD_XRS,4,2               ; @HDLC_CMD_XRS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"XDU without skb"

	.comm	_L1_MODE_HDLC,8,3               ; @L1_MODE_HDLC
	.no_dead_strip	_hdlc_xdu_irq
.subsections_via_symbols
