	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dabusb_8051_reset
_dabusb_8051_reset:                     ## @dabusb_8051_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movb	%sil, -9(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_dbg
	movq	_CPUCS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-9(%rbp), %rdx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_dabusb_writemem
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dabusb_8051_reset: %d"

	.comm	_CPUCS_REG,4,2                  ## @CPUCS_REG
	.no_dead_strip	_dabusb_8051_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dabusb_8051_reset
_dabusb_8051_reset:                     ; @dabusb_8051_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	strb	w1, [sp, #15]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
Lloh2:
	adrp	x8, _CPUCS_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPUCS_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #15
	mov	x0, x19
	mov	w3, #1
	bl	_dabusb_writemem
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dabusb_8051_reset: %d"

	.comm	_CPUCS_REG,4,2                  ; @CPUCS_REG
	.no_dead_strip	_dabusb_8051_reset
.subsections_via_symbols
