	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_debugfs_key_update_default ## -- Begin function ieee80211_debugfs_key_update_default
	.p2align	4, 0x90
_ieee80211_debugfs_key_update_default:  ## @ieee80211_debugfs_key_update_default
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	callq	_lockdep_assert_held
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_debugfs_remove
	movq	$0, 16(%rbx)
LBB0_3:
	movq	40(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	32(%rbx), %rdi
	callq	_key_mtx_dereference
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_sprintf
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rdx
	callq	_debugfs_create_symlink
	movq	%rax, 16(%rbx)
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_debugfs_remove
	movq	$0, 8(%rbx)
LBB0_7:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movq	32(%rbx), %rdi
	callq	_key_mtx_dereference
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_sprintf
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
	callq	_debugfs_create_symlink
	movq	%rax, 8(%rbx)
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"../keys/%d"

L_.str.1:                               ## @.str.1
	.asciz	"default_unicast_key"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_debugfs_key_update_default ; -- Begin function ieee80211_debugfs_key_update_default
	.p2align	2
_ieee80211_debugfs_key_update_default:  ; @ieee80211_debugfs_key_update_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #32]
	bl	_lockdep_assert_held
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_debugfs_remove
	str	xzr, [x19, #16]
LBB0_3:
	ldr	x1, [x19, #40]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [x19, #32]
	bl	_key_mtx_dereference
	ldr	w2, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #6
	bl	_sprintf
	ldr	w1, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x2, sp, #6
	bl	_debugfs_create_symlink
	str	x0, [x19, #16]
LBB0_5:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_debugfs_remove
	str	xzr, [x19, #8]
LBB0_7:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_9
; %bb.8:
	ldr	x0, [x19, #32]
	bl	_key_mtx_dereference
	ldr	w2, [x0]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #6
	bl	_sprintf
	ldr	w1, [x19]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x2, sp, #6
	bl	_debugfs_create_symlink
	str	x0, [x19, #8]
LBB0_9:
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"../keys/%d"

l_.str.1:                               ; @.str.1
	.asciz	"default_unicast_key"

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

.subsections_via_symbols
