	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vrc4173_cardu_setup
_vrc4173_cardu_setup:                   ## @vrc4173_cardu_setup
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_11
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	cmpb	$0, 7(%rbx)
	je	LBB0_11
## %bb.9:
	addq	$7, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_cardu_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CARDU2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	jmp	LBB0_11
LBB0_3:
	cmpb	$0, 7(%rbx)
	je	LBB0_11
## %bb.4:
	leaq	7(%rbx), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_cardu_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CARDU1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	addq	$14, %rbx
	movq	%rbx, %r14
LBB0_6:
	cmpb	$44, (%r14)
	movq	%r14, %rbx
	je	LBB0_7
LBB0_11:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cardu1:"

L_.str.1:                               ## @.str.1
	.asciz	"noprobe"

	.comm	_cardu_sockets,8,3              ## @cardu_sockets
	.comm	_CARDU1,8,3                     ## @CARDU1
L_.str.2:                               ## @.str.2
	.asciz	"cardu2:"

	.comm	_CARDU2,8,3                     ## @CARDU2
	.no_dead_strip	_vrc4173_cardu_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vrc4173_cardu_setup
_vrc4173_cardu_setup:                   ; @vrc4173_cardu_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncmp
	cbz	x0, LBB0_7
LBB0_3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncmp
	cbnz	x0, LBB0_11
; %bb.4:
	ldrb	w8, [x19, #7]!
	cbz	w8, LBB0_11
; %bb.5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_strncmp
	cbnz	x0, LBB0_11
; %bb.6:
Lloh6:
	adrp	x8, _cardu_sockets@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cardu_sockets@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _CARDU2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CARDU2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
	b	LBB0_11
LBB0_7:
	mov	x20, x19
	ldrb	w8, [x20, #7]!
	cbz	w8, LBB0_11
; %bb.8:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_strncmp
	cbnz	x0, LBB0_10
; %bb.9:
Lloh14:
	adrp	x8, _cardu_sockets@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cardu_sockets@GOTPAGEOFF]
Lloh16:
	adrp	x9, _CARDU1@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CARDU1@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
	add	x20, x19, #14
LBB0_10:
	ldrb	w8, [x20]
	mov	x19, x20
	cmp	w8, #44
	b.eq	LBB0_3
LBB0_11:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cardu1:"

l_.str.1:                               ; @.str.1
	.asciz	"noprobe"

	.comm	_cardu_sockets,8,3              ; @cardu_sockets
	.comm	_CARDU1,8,3                     ; @CARDU1
l_.str.2:                               ; @.str.2
	.asciz	"cardu2:"

	.comm	_CARDU2,8,3                     ; @CARDU2
	.no_dead_strip	_vrc4173_cardu_setup
.subsections_via_symbols
