	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nc_dump_usbctl
_nc_dump_usbctl:                        ## @nc_dump_usbctl
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netif_msg_link
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_USBCTL_ENABLE_LANG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rsi, %r9
	movq	_USBCTL_ENABLE_MFGR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rsi, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_USBCTL_ENABLE_PROD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rsi, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_USBCTL_ENABLE_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.5(%rip), %r15
	cmoveq	%rsi, %r15
	movq	_USBCTL_ENABLE_DEFAULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.6(%rip), %r12
	cmoveq	%rsi, %r12
	movq	_USBCTL_FLUSH_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.7(%rip), %rax
	movq	%rax, %r13
	cmoveq	%rsi, %r13
	movq	(%r14), %rcx
	movq	_USBCTL_DISCONN_OTHER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	leaq	L_.str.8(%rip), %r10
	movq	%r10, %r11
	cmoveq	%rsi, %r11
	movq	_USBCTL_FLUSH_THIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	cmoveq	%rsi, %rax
	movq	_USBCTL_DISCONN_THIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	movq	8(%rcx), %rdx
	movl	(%rdx), %edx
	movl	(%rcx), %ecx
	cmoveq	%rsi, %r10
	movq	_USBCTL_WRITABLE_MASK@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	(%rsi), %r14d
	notl	%r14d
	andl	%ebx, %r14d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %r8d
	pushq	%r14
	pushq	%r10
	pushq	%rax
	pushq	%r11
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_devdbg
	addq	$104, %rsp
	jmp	LBB0_3
LBB0_2:
	addq	$24, %rsp
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net1080 %s-%s usbctl 0x%x:%s%s%s%s%s; this%s%s; other%s%s; r/o 0x%x"

	.comm	_USBCTL_ENABLE_LANG,4,2         ## @USBCTL_ENABLE_LANG
L_.str.1:                               ## @.str.1
	.asciz	" lang"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_USBCTL_ENABLE_MFGR,4,2         ## @USBCTL_ENABLE_MFGR
L_.str.3:                               ## @.str.3
	.asciz	" mfgr"

	.comm	_USBCTL_ENABLE_PROD,4,2         ## @USBCTL_ENABLE_PROD
L_.str.4:                               ## @.str.4
	.asciz	" prod"

	.comm	_USBCTL_ENABLE_SERIAL,4,2       ## @USBCTL_ENABLE_SERIAL
L_.str.5:                               ## @.str.5
	.asciz	" serial"

	.comm	_USBCTL_ENABLE_DEFAULTS,4,2     ## @USBCTL_ENABLE_DEFAULTS
L_.str.6:                               ## @.str.6
	.asciz	" defaults"

	.comm	_USBCTL_FLUSH_OTHER,4,2         ## @USBCTL_FLUSH_OTHER
L_.str.7:                               ## @.str.7
	.asciz	" FLUSH"

	.comm	_USBCTL_DISCONN_OTHER,4,2       ## @USBCTL_DISCONN_OTHER
L_.str.8:                               ## @.str.8
	.asciz	" DIS"

	.comm	_USBCTL_FLUSH_THIS,4,2          ## @USBCTL_FLUSH_THIS
	.comm	_USBCTL_DISCONN_THIS,4,2        ## @USBCTL_DISCONN_THIS
	.comm	_USBCTL_WRITABLE_MASK,4,2       ## @USBCTL_WRITABLE_MASK
	.no_dead_strip	_nc_dump_usbctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nc_dump_usbctl
_nc_dump_usbctl:                        ; @nc_dump_usbctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	bl	_netif_msg_link
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	ldr	w2, [x9]
	ldr	w3, [x8]
Lloh0:
	adrp	x8, _USBCTL_ENABLE_LANG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USBCTL_ENABLE_LANG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str.2@PAGE
Lloh6:
	add	x10, x10, l_.str.2@PAGEOFF
	tst	w8, w19
	csel	x5, x10, x9, eq
Lloh7:
	adrp	x8, _USBCTL_ENABLE_MFGR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USBCTL_ENABLE_MFGR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, l_.str.3@PAGE
Lloh11:
	add	x9, x9, l_.str.3@PAGEOFF
	tst	w8, w19
Lloh12:
	adrp	x8, _USBCTL_ENABLE_PROD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _USBCTL_ENABLE_PROD@GOTPAGEOFF]
	csel	x6, x10, x9, eq
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, l_.str.4@PAGE
Lloh16:
	add	x9, x9, l_.str.4@PAGEOFF
	tst	w8, w19
	csel	x7, x10, x9, eq
Lloh17:
	adrp	x8, _USBCTL_ENABLE_SERIAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _USBCTL_ENABLE_SERIAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, l_.str.5@PAGE
Lloh21:
	add	x9, x9, l_.str.5@PAGEOFF
	tst	w8, w19
	csel	x8, x10, x9, eq
Lloh22:
	adrp	x9, _USBCTL_ENABLE_DEFAULTS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _USBCTL_ENABLE_DEFAULTS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x11, l_.str.6@PAGE
Lloh26:
	add	x11, x11, l_.str.6@PAGEOFF
	tst	w9, w19
	csel	x9, x10, x11, eq
Lloh27:
	adrp	x11, _USBCTL_FLUSH_OTHER@GOTPAGE
Lloh28:
	ldr	x11, [x11, _USBCTL_FLUSH_OTHER@GOTPAGEOFF]
Lloh29:
	adrp	x12, l_.str.7@PAGE
Lloh30:
	add	x12, x12, l_.str.7@PAGEOFF
Lloh31:
	ldr	w11, [x11]
	tst	w11, w19
	csel	x11, x10, x12, eq
Lloh32:
	adrp	x13, _USBCTL_DISCONN_OTHER@GOTPAGE
Lloh33:
	ldr	x13, [x13, _USBCTL_DISCONN_OTHER@GOTPAGEOFF]
Lloh34:
	ldr	w13, [x13]
Lloh35:
	adrp	x14, l_.str.8@PAGE
Lloh36:
	add	x14, x14, l_.str.8@PAGEOFF
	tst	w13, w19
	csel	x13, x10, x14, eq
Lloh37:
	adrp	x15, _USBCTL_FLUSH_THIS@GOTPAGE
Lloh38:
	ldr	x15, [x15, _USBCTL_FLUSH_THIS@GOTPAGEOFF]
Lloh39:
	ldr	w15, [x15]
	tst	w15, w19
	csel	x12, x10, x12, eq
Lloh40:
	adrp	x15, _USBCTL_DISCONN_THIS@GOTPAGE
Lloh41:
	ldr	x15, [x15, _USBCTL_DISCONN_THIS@GOTPAGEOFF]
Lloh42:
	ldr	w15, [x15]
	tst	w15, w19
	csel	x10, x10, x14, eq
Lloh43:
	adrp	x14, _USBCTL_WRITABLE_MASK@GOTPAGE
Lloh44:
	ldr	x14, [x14, _USBCTL_WRITABLE_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w14, [x14]
	bic	w14, w19, w14
	str	w14, [sp, #48]
	stp	x12, x10, [sp, #32]
	stp	x11, x13, [sp, #16]
Lloh46:
	adrp	x1, l_.str@PAGE
Lloh47:
	add	x1, x1, l_.str@PAGEOFF
	stp	x8, x9, [sp]
	mov	x0, x20
	mov	x4, x19
	bl	_devdbg
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net1080 %s-%s usbctl 0x%x:%s%s%s%s%s; this%s%s; other%s%s; r/o 0x%x"

	.comm	_USBCTL_ENABLE_LANG,4,2         ; @USBCTL_ENABLE_LANG
l_.str.1:                               ; @.str.1
	.asciz	" lang"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_USBCTL_ENABLE_MFGR,4,2         ; @USBCTL_ENABLE_MFGR
l_.str.3:                               ; @.str.3
	.asciz	" mfgr"

	.comm	_USBCTL_ENABLE_PROD,4,2         ; @USBCTL_ENABLE_PROD
l_.str.4:                               ; @.str.4
	.asciz	" prod"

	.comm	_USBCTL_ENABLE_SERIAL,4,2       ; @USBCTL_ENABLE_SERIAL
l_.str.5:                               ; @.str.5
	.asciz	" serial"

	.comm	_USBCTL_ENABLE_DEFAULTS,4,2     ; @USBCTL_ENABLE_DEFAULTS
l_.str.6:                               ; @.str.6
	.asciz	" defaults"

	.comm	_USBCTL_FLUSH_OTHER,4,2         ; @USBCTL_FLUSH_OTHER
l_.str.7:                               ; @.str.7
	.asciz	" FLUSH"

	.comm	_USBCTL_DISCONN_OTHER,4,2       ; @USBCTL_DISCONN_OTHER
l_.str.8:                               ; @.str.8
	.asciz	" DIS"

	.comm	_USBCTL_FLUSH_THIS,4,2          ; @USBCTL_FLUSH_THIS
	.comm	_USBCTL_DISCONN_THIS,4,2        ; @USBCTL_DISCONN_THIS
	.comm	_USBCTL_WRITABLE_MASK,4,2       ; @USBCTL_WRITABLE_MASK
	.no_dead_strip	_nc_dump_usbctl
.subsections_via_symbols
