	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_notification
_reset_notification:                    ## @reset_notification
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_RAW1394_NOTIFY_OFF@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DBGMSG
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_2
## %bb.1:
	movq	_RAW1394_NOTIFY_ON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_free_pending_request
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset_notification called - switch %s "

	.comm	_RAW1394_NOTIFY_OFF,8,3         ## @RAW1394_NOTIFY_OFF
L_.str.1:                               ## @.str.1
	.asciz	"OFF"

L_.str.2:                               ## @.str.2
	.asciz	"ON"

	.comm	_RAW1394_NOTIFY_ON,8,3          ## @RAW1394_NOTIFY_ON
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_reset_notification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_notification
_reset_notification:                    ; @reset_notification
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _RAW1394_NOTIFY_OFF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RAW1394_NOTIFY_OFF@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh4:
	adrp	x11, l_.str.1@PAGE
Lloh5:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x1, x11, x10, eq
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGMSG
	ldr	x8, [x19]
	ldr	x9, [x21]
Lloh8:
	adrp	x10, _RAW1394_NOTIFY_ON@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RAW1394_NOTIFY_ON@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	str	x8, [x20]
	mov	x0, x19
	bl	_free_pending_request
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset_notification called - switch %s "

	.comm	_RAW1394_NOTIFY_OFF,8,3         ; @RAW1394_NOTIFY_OFF
l_.str.1:                               ; @.str.1
	.asciz	"OFF"

l_.str.2:                               ; @.str.2
	.asciz	"ON"

	.comm	_RAW1394_NOTIFY_ON,8,3          ; @RAW1394_NOTIFY_ON
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_reset_notification
.subsections_via_symbols
