	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_regs_int
_handle_regs_int:                       ## @handle_regs_int
	.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	%rdi, %r14
	movq	8(%rdi), %r13
	xorl	%eax, %eax
	callq	_in_interrupt
	movl	%eax, %edi
	callq	_ZD_ASSERT
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movslq	4(%r14), %rax
	movl	2(%rax), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	_CR_INTERRUPT@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	callq	_zd_usb_to_hw
	movl	%eax, %edi
	callq	_zd_hw_mac
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	8(%rbx), %rdi
	movl	4(%r14), %esi
	movq	_USB_MAX_EP_INT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	_CR_INTERRUPT@GOTPCREL(%rip), %r15
	callq	_spin_unlock
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_schedule_work
	jmp	LBB0_5
LBB0_2:
	movq	%r13, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r14), %eax
	movl	%eax, 8(%r13)
	cmpl	$8, %eax
	movl	$8, %edx
	cmovbl	%eax, %edx
	movq	24(%r13), %rdi
	movl	4(%r14), %esi
	callq	_memcpy
	movl	16(%r13), %edx
	movl	20(%r13), %esi
	movq	%r13, %rdi
	callq	_check_read_regs
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	$0, 32(%r13)
	leaq	12(%r13), %rdi
	callq	_complete
LBB0_5:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	cmpq	(%r15), %r12
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_regs_int_override       ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR_INTERRUPT,8,3               ## @CR_INTERRUPT
	.comm	_USB_MAX_EP_INT_BUFFER,4,2      ## @USB_MAX_EP_INT_BUFFER
	.no_dead_strip	_handle_regs_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_regs_int
_handle_regs_int:                       ; @handle_regs_int
	.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, x0
	ldr	x20, [x0, #8]
	bl	_in_interrupt
	bl	_ZD_ASSERT
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldrsw	x8, [x19, #4]
	ldur	w0, [x8, #2]
	bl	_le16_to_cpu
	mov	x22, x0
Lloh0:
	adrp	x25, _CR_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CR_INTERRUPT@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_zd_usb_to_hw
	bl	_zd_hw_mac
	mov	x23, x0
	add	x24, x0, #4
	mov	x0, x24
	bl	_spin_lock
	add	x0, x23, #8
	ldr	w1, [x19, #4]
Lloh2:
	adrp	x8, _USB_MAX_EP_INT_BUFFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB_MAX_EP_INT_BUFFER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x24
	bl	_spin_unlock
	mov	x0, x23
	bl	_schedule_work
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_atomic_read
	cbz	x0, LBB0_5
; %bb.3:
	ldp	w8, w1, [x19]
	str	w8, [x20, #8]
	mov	w9, #8
	cmp	w8, #8
	csel	w2, w8, w9, lo
	ldr	x0, [x20, #24]
	bl	_memcpy
	ldp	w2, w1, [x20, #16]
	mov	x0, x20
	bl	_check_read_regs
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #0
	bl	_atomic_set
	str	xzr, [x20, #32]
	add	x0, x20, #12
	bl	_complete
LBB0_5:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x25]
	cmp	x22, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_atomic_read
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	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
	b	_handle_regs_int_override
LBB0_8:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CR_INTERRUPT,8,3               ; @CR_INTERRUPT
	.comm	_USB_MAX_EP_INT_BUFFER,4,2      ; @USB_MAX_EP_INT_BUFFER
	.no_dead_strip	_handle_regs_int
.subsections_via_symbols
