	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_memory
_store_memory:                          ## @store_memory
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r15
	callq	_dev_get_drvdata
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movq	%rax, %r14
	movq	8(%rax), %r12
	movb	(%r15), %al
	cmpb	$49, %al
	jne	LBB0_2
LBB0_5:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdi
	callq	_IPW_DEBUG_INFO
	movl	$1, (%r14)
	jmp	LBB0_14
LBB0_2:
	cmpq	$2, %rbx
	jb	LBB0_10
## %bb.3:
	movsbl	%al, %edi
	callq	_tolower
	cmpb	$111, %al
	jne	LBB0_6
## %bb.4:
	movsbl	1(%r15), %edi
	callq	_tolower
	cmpb	$110, %al
	je	LBB0_5
LBB0_6:
	movb	(%r15), %al
	cmpb	$48, %al
	je	LBB0_9
## %bb.7:
	movsbl	%al, %edi
	callq	_tolower
	cmpb	$111, %al
	jne	LBB0_11
## %bb.8:
	movsbl	1(%r15), %edi
	callq	_tolower
	cmpb	$102, %al
	je	LBB0_9
LBB0_11:
	movsbl	(%r15), %edi
	callq	_tolower
	movl	(%r12), %esi
	cmpb	$114, %al
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	callq	_IPW_DEBUG_INFO
	movq	%r14, %rdi
	callq	_ipw2100_snapshot_free
	jmp	LBB0_14
LBB0_10:
	cmpb	$48, %al
	jne	LBB0_11
LBB0_9:
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_IPW_DEBUG_INFO
	movl	$0, (%r14)
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
	callq	_IPW_DEBUG_INFO
LBB0_14:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Setting memory dump to RAW mode.\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Setting memory dump to HEX mode.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Resetting firmware snapshot.\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: Usage: 0|on = HEX, 1|off = RAW, reset = clear memory snapshot\n"

	.no_dead_strip	_store_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_memory
_store_memory:                          ; @store_memory
	.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, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	cbz	x19, LBB0_14
; %bb.1:
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldrb	w8, [x21]
	cmp	w8, #49
	b.ne	LBB0_3
LBB0_2:
	ldr	w1, [x22]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_INFO
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_14
LBB0_3:
	cmp	x19, #2
	b.lo	LBB0_11
; %bb.4:
	sxtb	w0, w8
	bl	_tolower
	cmp	w0, #111
	b.ne	LBB0_6
; %bb.5:
	ldrsb	w0, [x21, #1]
	bl	_tolower
	cmp	w0, #110
	b.eq	LBB0_2
LBB0_6:
	ldrb	w8, [x21]
	cmp	w8, #48
	b.eq	LBB0_12
; %bb.7:
	sxtb	w0, w8
	bl	_tolower
	cmp	w0, #111
	b.ne	LBB0_9
; %bb.8:
	ldrsb	w0, [x21, #1]
	bl	_tolower
	cmp	w0, #102
	b.eq	LBB0_12
LBB0_9:
	ldrsb	w0, [x21]
	bl	_tolower
	ldr	w1, [x22]
	cmp	w0, #114
	b.ne	LBB0_13
; %bb.10:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IPW_DEBUG_INFO
	mov	x0, x20
	bl	_ipw2100_snapshot_free
	b	LBB0_14
LBB0_11:
	cmp	w8, #48
	b.ne	LBB0_9
LBB0_12:
	ldr	w1, [x22]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IPW_DEBUG_INFO
	str	wzr, [x20]
	b	LBB0_14
LBB0_13:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IPW_DEBUG_INFO
LBB0_14:
	mov	x0, x19
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Setting memory dump to RAW mode.\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Setting memory dump to HEX mode.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Resetting firmware snapshot.\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: Usage: 0|on = HEX, 1|off = RAW, reset = clear memory snapshot\n"

	.no_dead_strip	_store_memory
.subsections_via_symbols
