	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DEBUG_Init                     ## -- Begin function DEBUG_Init
	.p2align	4, 0x90
_DEBUG_Init:                            ## @DEBUG_Init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_UIP_LOG
	xorl	%eax, %eax
	callq	___lwp_thread_dispatchdisable
	xorl	%eax, %eax
	callq	_bp_init
	movq	_GDBSTUB_DEVICE_USB@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_usb_init
	jmp	LBB0_3
LBB0_2:
	movq	_tcp_localip@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_uip_ipaddr
	movq	%rax, -40(%rbp)
	movq	_tcp_netmask@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_uip_ipaddr
	movq	%rax, -32(%rbp)
	movq	_tcp_gateway@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_uip_ipaddr
	movq	%rax, -24(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movl	%r14d, %ecx
	callq	_tcpip_init
LBB0_3:
	movq	_current_device@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	__CPU_ISR_Disable
	movq	_EX_DSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dbg_exceptionhandler@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	___exception_sethandler
	movq	_EX_PRG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___exception_sethandler
	movq	_EX_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___exception_sethandler
	movq	_EX_IABR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___exception_sethandler
	callq	__CPU_ISR_Restore
	movq	_dbg_initialized@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_5:
	xorl	%eax, %eax
	callq	___lwp_thread_dispatchenable
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEBUG_Init()\n"

	.comm	_GDBSTUB_DEVICE_USB,8,3         ## @GDBSTUB_DEVICE_USB
	.comm	_current_device,8,3             ## @current_device
	.comm	_tcp_localip,8,3                ## @tcp_localip
	.comm	_tcp_netmask,8,3                ## @tcp_netmask
	.comm	_tcp_gateway,8,3                ## @tcp_gateway
	.comm	_EX_DSI,4,2                     ## @EX_DSI
	.comm	_dbg_exceptionhandler,4,2       ## @dbg_exceptionhandler
	.comm	_EX_PRG,4,2                     ## @EX_PRG
	.comm	_EX_TRACE,4,2                   ## @EX_TRACE
	.comm	_EX_IABR,4,2                    ## @EX_IABR
	.comm	_dbg_initialized,4,2            ## @dbg_initialized
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DEBUG_Init                     ; -- Begin function DEBUG_Init
	.p2align	2
_DEBUG_Init:                            ; @DEBUG_Init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UIP_LOG
	bl	___lwp_thread_dispatchdisable
	bl	_bp_init
Lloh2:
	adrp	x8, _GDBSTUB_DEVICE_USB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GDBSTUB_DEVICE_USB@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_usb_init
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _tcp_localip@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tcp_localip@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	bl	_uip_ipaddr
	str	x0, [sp, #24]
Lloh8:
	adrp	x8, _tcp_netmask@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tcp_netmask@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	bl	_uip_ipaddr
	str	x0, [sp, #16]
Lloh11:
	adrp	x8, _tcp_gateway@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tcp_gateway@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_uip_ipaddr
	str	x0, [sp, #8]
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, x19
	bl	_tcpip_init
LBB0_3:
Lloh14:
	adrp	x8, _current_device@GOTPAGE
Lloh15:
	ldr	x8, [x8, _current_device@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	__CPU_ISR_Disable
Lloh17:
	adrp	x8, _EX_DSI@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EX_DSI@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x19, _dbg_exceptionhandler@GOTPAGE
Lloh21:
	ldr	x19, [x19, _dbg_exceptionhandler@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	___exception_sethandler
Lloh22:
	adrp	x8, _EX_PRG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EX_PRG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___exception_sethandler
Lloh25:
	adrp	x8, _EX_TRACE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EX_TRACE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___exception_sethandler
Lloh28:
	adrp	x8, _EX_IABR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EX_IABR@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___exception_sethandler
	bl	__CPU_ISR_Restore
Lloh31:
	adrp	x8, _dbg_initialized@GOTPAGE
Lloh32:
	ldr	x8, [x8, _dbg_initialized@GOTPAGEOFF]
	mov	w9, #1
Lloh33:
	str	w9, [x8]
LBB0_5:
	bl	___lwp_thread_dispatchenable
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEBUG_Init()\n"

	.comm	_GDBSTUB_DEVICE_USB,8,3         ; @GDBSTUB_DEVICE_USB
	.comm	_current_device,8,3             ; @current_device
	.comm	_tcp_localip,8,3                ; @tcp_localip
	.comm	_tcp_netmask,8,3                ; @tcp_netmask
	.comm	_tcp_gateway,8,3                ; @tcp_gateway
	.comm	_EX_DSI,4,2                     ; @EX_DSI
	.comm	_dbg_exceptionhandler,4,2       ; @dbg_exceptionhandler
	.comm	_EX_PRG,4,2                     ; @EX_PRG
	.comm	_EX_TRACE,4,2                   ; @EX_TRACE
	.comm	_EX_IABR,4,2                    ; @EX_IABR
	.comm	_dbg_initialized,4,2            ; @dbg_initialized
.subsections_via_symbols
