	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoctal_reset_channel
_ipoctal_reset_channel:                 ## @ipoctal_reset_channel
	.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
	movq	%rdi, %rbx
	movq	_CR_DISABLE_RX@GOTPCREL(%rip), %rax
	movq	_CR_DISABLE_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_iowrite8
	movq	$0, 8(%rbx)
	movq	_CR_CMD_RESET_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_iowrite8
	movq	_CR_CMD_RESET_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_iowrite8
	movq	_CR_CMD_RESET_ERR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_iowrite8
	movq	_CR_CMD_RESET_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iowrite8                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CR_DISABLE_RX,4,2              ## @CR_DISABLE_RX
	.comm	_CR_DISABLE_TX,4,2              ## @CR_DISABLE_TX
	.comm	_CR_CMD_RESET_RX,4,2            ## @CR_CMD_RESET_RX
	.comm	_CR_CMD_RESET_TX,4,2            ## @CR_CMD_RESET_TX
	.comm	_CR_CMD_RESET_ERR_STATUS,4,2    ## @CR_CMD_RESET_ERR_STATUS
	.comm	_CR_CMD_RESET_MR,4,2            ## @CR_CMD_RESET_MR
	.no_dead_strip	_ipoctal_reset_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoctal_reset_channel
_ipoctal_reset_channel:                 ; @ipoctal_reset_channel
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _CR_DISABLE_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CR_DISABLE_RX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CR_DISABLE_TX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CR_DISABLE_TX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x1, [x19]
	bl	_iowrite8
	str	xzr, [x19, #8]
Lloh6:
	adrp	x8, _CR_CMD_RESET_RX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CR_CMD_RESET_RX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_iowrite8
Lloh9:
	adrp	x8, _CR_CMD_RESET_TX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CR_CMD_RESET_TX@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_iowrite8
Lloh12:
	adrp	x8, _CR_CMD_RESET_ERR_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CR_CMD_RESET_ERR_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_iowrite8
Lloh15:
	adrp	x8, _CR_CMD_RESET_MR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CR_CMD_RESET_MR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iowrite8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CR_DISABLE_RX,4,2              ; @CR_DISABLE_RX
	.comm	_CR_DISABLE_TX,4,2              ; @CR_DISABLE_TX
	.comm	_CR_CMD_RESET_RX,4,2            ; @CR_CMD_RESET_RX
	.comm	_CR_CMD_RESET_TX,4,2            ; @CR_CMD_RESET_TX
	.comm	_CR_CMD_RESET_ERR_STATUS,4,2    ; @CR_CMD_RESET_ERR_STATUS
	.comm	_CR_CMD_RESET_MR,4,2            ; @CR_CMD_RESET_MR
	.no_dead_strip	_ipoctal_reset_channel
.subsections_via_symbols
