	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macsonic_ident
_macsonic_ident:                        ## @macsonic_ident
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_NUBUS_DRHW_ASANTE_LC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	movq	_NUBUS_DRSW_SONIC_LC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_MACSONIC_DAYNALINK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_NUBUS_DRHW_SONIC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_8
## %bb.5:
	movq	8(%rdi), %rax
	movq	_NUBUS_DRSW_APPLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.6:
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	_MACSONIC_DUODOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_NUBUS_DRHW_SMC9194@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_11
## %bb.9:
	movq	8(%rdi), %rax
	movq	_NUBUS_DRSW_DAYNA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_MACSONIC_DAYNA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_NUBUS_DRHW_APPLE_SONIC_LC@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.12:
	movq	_MACSONIC_APPLE16@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	8(%rdi), %rax
	sbbl	%eax, %eax
	orl	(%rcx), %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_14:
	movq	_MACSONIC_APPLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUBUS_DRHW_ASANTE_LC,8,3       ## @NUBUS_DRHW_ASANTE_LC
	.comm	_NUBUS_DRSW_SONIC_LC,8,3        ## @NUBUS_DRSW_SONIC_LC
	.comm	_MACSONIC_DAYNALINK,4,2         ## @MACSONIC_DAYNALINK
	.comm	_NUBUS_DRHW_SONIC,8,3           ## @NUBUS_DRHW_SONIC
	.comm	_NUBUS_DRSW_APPLE,8,3           ## @NUBUS_DRSW_APPLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DuoDock"

	.comm	_MACSONIC_DUODOCK,4,2           ## @MACSONIC_DUODOCK
	.comm	_MACSONIC_APPLE,4,2             ## @MACSONIC_APPLE
	.comm	_NUBUS_DRHW_SMC9194,8,3         ## @NUBUS_DRHW_SMC9194
	.comm	_NUBUS_DRSW_DAYNA,8,3           ## @NUBUS_DRSW_DAYNA
	.comm	_MACSONIC_DAYNA,4,2             ## @MACSONIC_DAYNA
	.comm	_NUBUS_DRHW_APPLE_SONIC_LC,8,3  ## @NUBUS_DRHW_APPLE_SONIC_LC
	.comm	_MACSONIC_APPLE16,4,2           ## @MACSONIC_APPLE16
	.no_dead_strip	_macsonic_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macsonic_ident
_macsonic_ident:                        ; @macsonic_ident
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NUBUS_DRHW_ASANTE_LC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUBUS_DRHW_ASANTE_LC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _NUBUS_DRSW_SONIC_LC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NUBUS_DRSW_SONIC_LC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _MACSONIC_DAYNALINK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MACSONIC_DAYNALINK@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
Lloh8:
	adrp	x9, _NUBUS_DRHW_SONIC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NUBUS_DRHW_SONIC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	x9, [x0, #8]
Lloh11:
	adrp	x10, _NUBUS_DRSW_APPLE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _NUBUS_DRSW_APPLE@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.6:
Lloh16:
	adrp	x8, _MACSONIC_DUODOCK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MACSONIC_DUODOCK@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
Lloh18:
	adrp	x9, _NUBUS_DRHW_SMC9194@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NUBUS_DRHW_SMC9194@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x9, [x0, #8]
Lloh21:
	adrp	x10, _NUBUS_DRSW_DAYNA@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NUBUS_DRSW_DAYNA@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.9:
Lloh24:
	adrp	x8, _MACSONIC_DAYNA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MACSONIC_DAYNA@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
Lloh26:
	adrp	x9, _NUBUS_DRHW_APPLE_SONIC_LC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NUBUS_DRHW_APPLE_SONIC_LC@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	x8, [x0, #8]
Lloh29:
	adrp	x9, _MACSONIC_APPLE16@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MACSONIC_APPLE16@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	x8, #0
	csinv	w0, w9, wzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh32:
	adrp	x8, _MACSONIC_APPLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MACSONIC_APPLE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_NUBUS_DRHW_ASANTE_LC,8,3       ; @NUBUS_DRHW_ASANTE_LC
	.comm	_NUBUS_DRSW_SONIC_LC,8,3        ; @NUBUS_DRSW_SONIC_LC
	.comm	_MACSONIC_DAYNALINK,4,2         ; @MACSONIC_DAYNALINK
	.comm	_NUBUS_DRHW_SONIC,8,3           ; @NUBUS_DRHW_SONIC
	.comm	_NUBUS_DRSW_APPLE,8,3           ; @NUBUS_DRSW_APPLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DuoDock"

	.comm	_MACSONIC_DUODOCK,4,2           ; @MACSONIC_DUODOCK
	.comm	_MACSONIC_APPLE,4,2             ; @MACSONIC_APPLE
	.comm	_NUBUS_DRHW_SMC9194,8,3         ; @NUBUS_DRHW_SMC9194
	.comm	_NUBUS_DRSW_DAYNA,8,3           ; @NUBUS_DRSW_DAYNA
	.comm	_MACSONIC_DAYNA,4,2             ; @MACSONIC_DAYNA
	.comm	_NUBUS_DRHW_APPLE_SONIC_LC,8,3  ; @NUBUS_DRHW_APPLE_SONIC_LC
	.comm	_MACSONIC_APPLE16,4,2           ; @MACSONIC_APPLE16
	.no_dead_strip	_macsonic_ident
.subsections_via_symbols
