	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function softing_irq_thread
_softing_irq_thread:                    ## @softing_irq_thread
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	leaq	32(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	callq	_softing_handle_1
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	36(%r15)
	incl	%ebx
	movq	%r15, %rdi
	callq	_softing_handle_1
	testq	%rax, %rax
	jg	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movl	16(%r15), %r14d
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.4:
	incl	%r14d
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r13d
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	_TXMAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rcx
	movq	8(%r15), %rsi
	leal	(%r14,%r13), %eax
	cltd
	idivl	(%rcx)
	incl	%r13d
	movslq	%edx, %rax
	movq	(%rsi,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_canif_is_active
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	movq	_TX_ECHO_SKB_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movq	%r12, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_10
LBB0_12:
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.14:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXMAX,8,3                      ## @TXMAX
	.comm	_TX_ECHO_SKB_MAX,8,3            ## @TX_ECHO_SKB_MAX
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_softing_irq_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function softing_irq_thread
_softing_irq_thread:                    ; @softing_irq_thread
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	add	x20, x1, #32
	mov	x0, x20
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_softing_handle_1
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	add	w22, w22, #1
	mov	x0, x19
	bl	_softing_handle_1
	cmp	x0, #0
	b.gt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	w20, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.5:
	mov	w23, #0
	add	w24, w20, #1
Lloh0:
	adrp	x25, _TXMAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TXMAX@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TX_ECHO_SKB_MAX@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TX_ECHO_SKB_MAX@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w23, w23, #1
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.ge	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ge	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w24, w23
	ldp	x10, x9, [x19]
	ldr	w10, [x10]
	sdiv	w11, w8, w10
	msub	w8, w11, w10, w8
	ldr	x20, [x9, w8, sxtw #3]
	cbz	x20, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_canif_is_active
	cbz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
	mov	x0, x20
	bl	_netif_wake_queue
	b	LBB0_6
LBB0_12:
Lloh4:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh6:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TXMAX,8,3                      ; @TXMAX
	.comm	_TX_ECHO_SKB_MAX,8,3            ; @TX_ECHO_SKB_MAX
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_softing_irq_thread
.subsections_via_symbols
