	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_save_curr_bcn          ## -- Begin function mwifiex_save_curr_bcn
	.p2align	4, 0x90
_mwifiex_save_curr_bcn:                 ## @mwifiex_save_curr_bcn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	24(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	cmpq	%rdx, (%rbx)
	je	LBB0_5
LBB0_3:
	movq	%rdx, (%rbx)
	callq	_kfree
	movq	24(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_23
## %bb.4:
	movq	%rax, %rdi
	movq	24(%rbx), %rdx
LBB0_5:
	movq	40(%rbx), %rsi
	callq	_memcpy
	movl	16(%rbx), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	8(%rbx), %rax
	movq	%rax, 40(%rbx)
	cmpq	$0, 176(%rbx)
	je	LBB0_7
## %bb.6:
	movq	168(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 176(%rbx)
LBB0_7:
	cmpq	$0, 160(%rbx)
	je	LBB0_9
## %bb.8:
	movq	152(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 160(%rbx)
LBB0_9:
	cmpq	$0, 144(%rbx)
	je	LBB0_11
## %bb.10:
	movq	136(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 144(%rbx)
LBB0_11:
	cmpq	$0, 128(%rbx)
	je	LBB0_13
## %bb.12:
	movq	120(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 128(%rbx)
LBB0_13:
	cmpq	$0, 112(%rbx)
	je	LBB0_15
## %bb.14:
	movq	104(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 112(%rbx)
LBB0_15:
	cmpq	$0, 96(%rbx)
	je	LBB0_17
## %bb.16:
	movq	88(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 96(%rbx)
LBB0_17:
	cmpq	$0, 80(%rbx)
	je	LBB0_19
## %bb.18:
	movq	72(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 80(%rbx)
LBB0_19:
	cmpq	$0, 64(%rbx)
	je	LBB0_21
## %bb.20:
	movq	56(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 64(%rbx)
LBB0_21:
	cmpq	$0, 48(%rbx)
	je	LBB0_23
## %bb.22:
	addq	32(%rbx), %rax
	movq	%rax, 48(%rbx)
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: current beacon saved %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_save_curr_bcn          ; -- Begin function mwifiex_save_curr_bcn
	.p2align	2
_mwifiex_save_curr_bcn:                 ; @mwifiex_save_curr_bcn
	.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
	ldr	x2, [x0, #24]
	cbz	x2, LBB0_23
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	cmp	x8, x2
	b.eq	LBB0_5
LBB0_3:
	str	x2, [x19]
	bl	_kfree
	ldr	x0, [x19, #24]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_23
; %bb.4:
	ldr	x2, [x19, #24]
LBB0_5:
	ldr	x1, [x19, #40]
	bl	_memcpy
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x3, [x19]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	ldr	x8, [x19, #8]
	str	x8, [x19, #40]
	ldr	x9, [x19, #176]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x9, [x19, #168]
	add	x9, x9, x8
	str	x9, [x19, #176]
LBB0_7:
	ldr	x9, [x19, #160]
	cbz	x9, LBB0_9
; %bb.8:
	ldr	x9, [x19, #152]
	add	x9, x9, x8
	str	x9, [x19, #160]
LBB0_9:
	ldr	x9, [x19, #144]
	cbz	x9, LBB0_11
; %bb.10:
	ldr	x9, [x19, #136]
	add	x9, x9, x8
	str	x9, [x19, #144]
LBB0_11:
	ldr	x9, [x19, #128]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x9, [x19, #120]
	add	x9, x9, x8
	str	x9, [x19, #128]
LBB0_13:
	ldr	x9, [x19, #112]
	cbz	x9, LBB0_15
; %bb.14:
	ldr	x9, [x19, #104]
	add	x9, x9, x8
	str	x9, [x19, #112]
LBB0_15:
	ldr	x9, [x19, #96]
	cbz	x9, LBB0_17
; %bb.16:
	ldr	x9, [x19, #88]
	add	x9, x9, x8
	str	x9, [x19, #96]
LBB0_17:
	ldr	x9, [x19, #80]
	cbz	x9, LBB0_19
; %bb.18:
	ldr	x9, [x19, #72]
	add	x9, x9, x8
	str	x9, [x19, #80]
LBB0_19:
	ldr	x9, [x19, #64]
	cbz	x9, LBB0_21
; %bb.20:
	ldr	x9, [x19, #56]
	add	x9, x9, x8
	str	x9, [x19, #64]
LBB0_21:
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_23
; %bb.22:
	ldr	x9, [x19, #32]
	add	x8, x9, x8
	str	x8, [x19, #48]
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: current beacon saved %d\n"

.subsections_via_symbols
