	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdnloop_pollbchan
_isdnloop_pollbchan:                    ## @isdnloop_pollbchan
	.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
	movl	(%rdi), %eax
	movq	_ISDNLOOP_FLAGS_B1ACTIVE@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_isdnloop_bchan_send
	movl	(%rbx), %eax
LBB0_2:
	movq	_ISDNLOOP_FLAGS_B2ACTIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_isdnloop_bchan_send
	movl	(%rbx), %eax
	movl	(%r15), %ecx
LBB0_4:
	orl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_5
## %bb.6:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_ISDNLOOP_TIMER_BCREAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	leaq	8(%rbx), %rdi
	movq	%rcx, 8(%rbx)
	callq	_add_timer
	movq	_ISDNLOOP_FLAGS_RBTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_5:
	movq	_ISDNLOOP_FLAGS_RBTIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISDNLOOP_FLAGS_B1ACTIVE,4,2    ## @ISDNLOOP_FLAGS_B1ACTIVE
	.comm	_ISDNLOOP_FLAGS_B2ACTIVE,4,2    ## @ISDNLOOP_FLAGS_B2ACTIVE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ISDNLOOP_TIMER_BCREAD,8,3      ## @ISDNLOOP_TIMER_BCREAD
	.comm	_ISDNLOOP_FLAGS_RBTIMER,4,2     ## @ISDNLOOP_FLAGS_RBTIMER
	.no_dead_strip	_isdnloop_pollbchan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdnloop_pollbchan
_isdnloop_pollbchan:                    ; @isdnloop_pollbchan
	.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	w8, [x0]
Lloh0:
	adrp	x20, _ISDNLOOP_FLAGS_B1ACTIVE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ISDNLOOP_FLAGS_B1ACTIVE@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_isdnloop_bchan_send
	ldr	w8, [x19]
LBB0_2:
Lloh2:
	adrp	x21, _ISDNLOOP_FLAGS_B2ACTIVE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ISDNLOOP_FLAGS_B2ACTIVE@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_isdnloop_bchan_send
	ldr	w8, [x19]
	ldr	w9, [x21]
LBB0_4:
	ldr	w10, [x20]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	adrp	x9, _ISDNLOOP_TIMER_BCREAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISDNLOOP_TIMER_BCREAD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	ldr	x9, [x9]
	add	x8, x9, x8
	mov	x0, x19
	str	x8, [x0, #8]!
	bl	_add_timer
Lloh10:
	adrp	x8, _ISDNLOOP_FLAGS_RBTIMER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISDNLOOP_FLAGS_RBTIMER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, 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	_spin_unlock_irqrestore
LBB0_6:
Lloh13:
	adrp	x9, _ISDNLOOP_FLAGS_RBTIMER@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ISDNLOOP_FLAGS_RBTIMER@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ISDNLOOP_FLAGS_B1ACTIVE,4,2    ; @ISDNLOOP_FLAGS_B1ACTIVE
	.comm	_ISDNLOOP_FLAGS_B2ACTIVE,4,2    ; @ISDNLOOP_FLAGS_B2ACTIVE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ISDNLOOP_TIMER_BCREAD,8,3      ; @ISDNLOOP_TIMER_BCREAD
	.comm	_ISDNLOOP_FLAGS_RBTIMER,4,2     ; @ISDNLOOP_FLAGS_RBTIMER
	.no_dead_strip	_isdnloop_pollbchan
.subsections_via_symbols
