	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_reset_mode
_set_reset_mode:                        ## @set_reset_mode
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_control@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CTRL_CCE@GOTPCREL(%rip), %rax
	movq	_CTRL_INI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_cc770_write_reg
	movq	_CAN_STATE_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cc770_read_reg
	movq	_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cc770_write_reg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_disable_all_objs               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_control,4,2                    ## @control
	.comm	_CTRL_CCE,4,2                   ## @CTRL_CCE
	.comm	_CTRL_INI,4,2                   ## @CTRL_INI
	.comm	_CAN_STATE_STOPPED,4,2          ## @CAN_STATE_STOPPED
	.comm	_interrupt,4,2                  ## @interrupt
	.comm	_status,4,2                     ## @status
	.no_dead_strip	_set_reset_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_reset_mode
_set_reset_mode:                        ; @set_reset_mode
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _control@GOTPAGE
Lloh1:
	ldr	x8, [x8, _control@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CTRL_CCE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRL_CCE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _CTRL_INI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CTRL_INI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_cc770_write_reg
Lloh9:
	adrp	x8, _CAN_STATE_STOPPED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAN_STATE_STOPPED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh12:
	adrp	x8, _interrupt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _interrupt@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cc770_read_reg
Lloh15:
	adrp	x8, _status@GOTPAGE
Lloh16:
	ldr	x8, [x8, _status@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_cc770_write_reg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_disable_all_objs
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_control,4,2                    ; @control
	.comm	_CTRL_CCE,4,2                   ; @CTRL_CCE
	.comm	_CTRL_INI,4,2                   ; @CTRL_INI
	.comm	_CAN_STATE_STOPPED,4,2          ; @CAN_STATE_STOPPED
	.comm	_interrupt,4,2                  ; @interrupt
	.comm	_status,4,2                     ; @status
	.no_dead_strip	_set_reset_mode
.subsections_via_symbols
