	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccmp_detach
_ccmp_detach:                           ## @ccmp_detach
	.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	(%rdi), %rdi
	movq	_M_80211_CRYPTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IEEE80211_FREE
	movq	_nrefs@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setg	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	decq	(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_80211_CRYPTO,4,2             ## @M_80211_CRYPTO
	.comm	_nrefs,8,3                      ## @nrefs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"imbalanced attach/detach"

	.no_dead_strip	_ccmp_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccmp_detach
_ccmp_detach:                           ; @ccmp_detach
	.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	x0, [x0]
Lloh0:
	adrp	x8, _M_80211_CRYPTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_80211_CRYPTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IEEE80211_FREE
Lloh3:
	adrp	x19, _nrefs@GOTPAGE
Lloh4:
	ldr	x19, [x19, _nrefs@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, gt
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_80211_CRYPTO,4,2             ; @M_80211_CRYPTO
	.comm	_nrefs,8,3                      ; @nrefs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"imbalanced attach/detach"

	.no_dead_strip	_ccmp_detach
.subsections_via_symbols
