	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_reset_assert
_aw_reset_assert:                       ## @aw_reset_assert
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	callq	_device_get_softc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_mtx_lock
	movq	%r14, %rdi
	callq	_RESET_OFFSET
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_RESET_READ
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_RESET_SHIFT
	movl	%ebx, %ecx
	btrl	%eax, %ecx
	btsl	%eax, %ebx
	testl	%r15d, %r15d
	cmovnel	%ecx, %ebx
	movq	%r14, %rdi
	callq	_RESET_OFFSET
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_RESET_WRITE
	movq	%r12, %rdi
	callq	_mtx_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_aw_reset_assert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_reset_assert
_aw_reset_assert:                       ; @aw_reset_assert
	.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, x2
	mov	x20, x1
	bl	_device_get_softc
	mov	x21, x0
	bl	_mtx_lock
	mov	x0, x20
	bl	_RESET_OFFSET
	mov	x1, x0
	mov	x0, x21
	bl	_RESET_READ
	mov	x22, x0
	mov	x0, x20
	bl	_RESET_SHIFT
	mov	w8, #1
	lsl	w8, w8, w0
	bic	w9, w22, w8
	orr	w8, w8, w22
	cmp	w19, #0
	csel	w19, w8, w9, eq
	mov	x0, x20
	bl	_RESET_OFFSET
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_RESET_WRITE
	mov	x0, x21
	bl	_mtx_unlock
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_aw_reset_assert
.subsections_via_symbols
