	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_net_device_busy
_isdn_net_device_busy:                  ## @isdn_net_device_busy
	.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, %r15
	callq	_isdn_net_lp_busy
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_ISDN_MASTER_PRIV
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	leaq	8(%r15), %rax
LBB0_5:
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rbx
	cmpq	%r15, %rbx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_isdn_net_lp_busy
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_7:
	movl	$1, %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_isdn_net_device_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_net_device_busy
_isdn_net_device_busy:                  ; @isdn_net_device_busy
	.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
	bl	_isdn_net_lp_busy
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ISDN_MASTER_PRIV
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_11
LBB0_4:
	add	x0, x19, #8
LBB0_5:
	ldr	x20, [x0]
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x21, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x21]
	cmp	x21, x19
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_isdn_net_lp_busy
	cbnz	w0, LBB0_6
; %bb.8:
	mov	w19, #0
	b	LBB0_10
LBB0_9:
	mov	w19, #1
LBB0_10:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_11:
	mov	x0, 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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_isdn_net_device_busy
.subsections_via_symbols
