	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsmi_clear_config_store
_gsmi_clear_config_store:               ## @gsmi_clear_config_store
	.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	%rcx, %r15
	movq	_gsmi_dev@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_memset
	movq	_GSMI_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GSMI_CMD_CLEAR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gsmi_exec
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	testl	%ebx, %ebx
	cmovnel	%ebx, %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gsmi_dev,16,3                  ## @gsmi_dev
	.comm	_GSMI_CALLBACK,4,2              ## @GSMI_CALLBACK
	.comm	_GSMI_CMD_CLEAR_CONFIG,4,2      ## @GSMI_CMD_CLEAR_CONFIG
	.no_dead_strip	_gsmi_clear_config_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsmi_clear_config_store
_gsmi_clear_config_store:               ; @gsmi_clear_config_store
	.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
Lloh0:
	adrp	x20, _gsmi_dev@GOTPAGE
Lloh1:
	ldr	x20, [x20, _gsmi_dev@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
	ldp	w2, w0, [x8]
	mov	w1, #0
	bl	_memset
Lloh2:
	adrp	x8, _GSMI_CALLBACK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSMI_CALLBACK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GSMI_CMD_CLEAR_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSMI_CMD_CLEAR_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_gsmi_exec
	mov	x21, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	cmp	w21, #0
	csel	w0, w19, w21, eq
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gsmi_dev,16,3                  ; @gsmi_dev
	.comm	_GSMI_CALLBACK,4,2              ; @GSMI_CALLBACK
	.comm	_GSMI_CMD_CLEAR_CONFIG,4,2      ; @GSMI_CMD_CLEAR_CONFIG
	.no_dead_strip	_gsmi_clear_config_store
.subsections_via_symbols
