	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fjes_set_dump
_fjes_set_dump:                         ## @fjes_set_dump
	.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
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%r14), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.3:
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_fjes_hw_start_debug
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.5:
	movq	$0, 8(%r14)
	jmp	LBB0_8
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.7:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_fjes_hw_stop_debug
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_8
LBB0_2:
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_fjes_set_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fjes_set_dump
_fjes_set_dump:                         ; @fjes_set_dump
	.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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x9, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	cbnz	x9, LBB0_6
; %bb.2:
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x19
	bl	_fjes_hw_start_debug
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	cbz	w20, LBB0_7
; %bb.3:
	str	xzr, [x19, #8]
	b	LBB0_7
LBB0_4:
	cbz	x9, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x19
	bl	_fjes_hw_stop_debug
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EPERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_fjes_set_dump
.subsections_via_symbols
