	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initW6692
_initW6692:                             ## @initW6692
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testb	$1, %r14b
	je	LBB0_2
## %bb.1:
	movq	_setstack_W6692@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_DC_Close_W6692@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_dbusy_timer_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	32(%rbx), %rdi
	movq	%rax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	callq	_init_timer
	movq	%rbx, %rdi
	callq	_resetW6692
	movq	_W_L1CMD_RST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ph_command
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_W6692_new_ph
	movq	_W_L1CMD_ECK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ph_command
	movq	_setstack_w6692@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rdi
	movq	%rax, 8(%rdi)
	movq	%rax, 24(%rdi)
	movq	_close_w6692state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdi)
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_W6692Bmode
	movq	16(%rbx), %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_W6692Bmode
LBB0_2:
	testb	$2, %r14b
	jne	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_W_IMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	*(%rbx)
	movq	_W_D_EXIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*(%rbx)
	movq	_W_B_EXIM@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	*8(%rbx)
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	*8(%rbx)
	movq	(%rbx), %rax
	movq	_W_D_CMDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_W_D_CMDR_RRST@GOTPCREL(%rip), %rcx
	movq	_W_D_CMDR_XRST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_setstack_W6692,4,2             ## @setstack_W6692
	.comm	_DC_Close_W6692,4,2             ## @DC_Close_W6692
	.comm	_dbusy_timer_handler,8,3        ## @dbusy_timer_handler
	.comm	_W_L1CMD_RST,4,2                ## @W_L1CMD_RST
	.comm	_W_L1CMD_ECK,4,2                ## @W_L1CMD_ECK
	.comm	_setstack_w6692,8,3             ## @setstack_w6692
	.comm	_close_w6692state,8,3           ## @close_w6692state
	.comm	_W_IMASK,4,2                    ## @W_IMASK
	.comm	_W_D_EXIM,4,2                   ## @W_D_EXIM
	.comm	_W_B_EXIM,4,2                   ## @W_B_EXIM
	.comm	_W_D_CMDR,4,2                   ## @W_D_CMDR
	.comm	_W_D_CMDR_RRST,4,2              ## @W_D_CMDR_RRST
	.comm	_W_D_CMDR_XRST,4,2              ## @W_D_CMDR_XRST
	.no_dead_strip	_initW6692
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initW6692
_initW6692:                             ; @initW6692
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	tbz	w1, #0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _setstack_W6692@GOTPAGE
Lloh1:
	ldr	x8, [x8, _setstack_W6692@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DC_Close_W6692@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DC_Close_W6692@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh6:
	adrp	x8, _dbusy_timer_handler@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dbusy_timer_handler@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x19, #32
	stp	x19, x8, [x19, #32]
	bl	_init_timer
	mov	x0, x19
	bl	_resetW6692
Lloh9:
	adrp	x21, _W_L1CMD_RST@GOTPAGE
Lloh10:
	ldr	x21, [x21, _W_L1CMD_RST@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ph_command
	ldr	w8, [x21]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_W6692_new_ph
Lloh11:
	adrp	x8, _W_L1CMD_ECK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _W_L1CMD_ECK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ph_command
Lloh14:
	adrp	x8, _setstack_w6692@GOTPAGE
Lloh15:
	ldr	x8, [x8, _setstack_w6692@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x19, #16]
Lloh17:
	adrp	x9, _close_w6692state@GOTPAGE
Lloh18:
	ldr	x9, [x9, _close_w6692state@GOTPAGEOFF]
	ldr	x10, [x9]
	stp	x10, x8, [x0]
	ldr	x9, [x9]
	stp	x9, x8, [x0, #16]
	mov	w1, #0
	mov	w2, #0
	bl	_W6692Bmode
	ldr	x8, [x19, #16]
	add	x0, x8, #16
	mov	w1, #0
	mov	w2, #0
	bl	_W6692Bmode
LBB0_2:
	tbnz	w20, #1, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _W_IMASK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _W_IMASK@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #24
	blr	x8
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _W_D_EXIM@GOTPAGE
Lloh23:
	ldr	x9, [x9, _W_D_EXIM@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #8]
Lloh25:
	adrp	x20, _W_B_EXIM@GOTPAGE
Lloh26:
	ldr	x20, [x20, _W_B_EXIM@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #0
	blr	x8
Lloh27:
	adrp	x8, _W_D_CMDR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _W_D_CMDR@GOTPAGEOFF]
	ldr	x3, [x19]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _W_D_CMDR_RRST@GOTPAGE
Lloh31:
	ldr	x8, [x8, _W_D_CMDR_RRST@GOTPAGEOFF]
Lloh32:
	adrp	x9, _W_D_CMDR_XRST@GOTPAGE
Lloh33:
	ldr	x9, [x9, _W_D_CMDR_XRST@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_setstack_W6692,4,2             ; @setstack_W6692
	.comm	_DC_Close_W6692,4,2             ; @DC_Close_W6692
	.comm	_dbusy_timer_handler,8,3        ; @dbusy_timer_handler
	.comm	_W_L1CMD_RST,4,2                ; @W_L1CMD_RST
	.comm	_W_L1CMD_ECK,4,2                ; @W_L1CMD_ECK
	.comm	_setstack_w6692,8,3             ; @setstack_w6692
	.comm	_close_w6692state,8,3           ; @close_w6692state
	.comm	_W_IMASK,4,2                    ; @W_IMASK
	.comm	_W_D_EXIM,4,2                   ; @W_D_EXIM
	.comm	_W_B_EXIM,4,2                   ; @W_B_EXIM
	.comm	_W_D_CMDR,4,2                   ; @W_D_CMDR
	.comm	_W_D_CMDR_RRST,4,2              ; @W_D_CMDR_RRST
	.comm	_W_D_CMDR_XRST,4,2              ; @W_D_CMDR_XRST
	.no_dead_strip	_initW6692
.subsections_via_symbols
