	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_disconnect
_nl80211_disconnect:                    ## @nl80211_disconnect
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	movq	(%rcx), %r14
	movq	8(%rcx), %rbx
	movq	_NL80211_ATTR_REASON_CODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	callq	_nla_get_u16
	testq	%rax, %rax
	je	LBB0_4
LBB0_6:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.7:
	movq	_NL80211_IFTYPE_P2P_CLIENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_6
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movl	$1, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cfg80211_disconnect            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_REASON_CODE,8,3   ## @NL80211_ATTR_REASON_CODE
	.comm	_WLAN_REASON_DEAUTH_LEAVING,8,3 ## @WLAN_REASON_DEAUTH_LEAVING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ## @NL80211_IFTYPE_P2P_CLIENT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nl80211_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_disconnect
_nl80211_disconnect:                    ; @nl80211_disconnect
	.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
	ldp	x9, x8, [x1]
	ldp	x20, x19, [x8]
Lloh0:
	adrp	x8, _NL80211_ATTR_REASON_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_REASON_CODE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
	cbz	w0, LBB0_4
; %bb.1:
	bl	_nla_get_u16
	mov	x2, x0
	cbz	x2, LBB0_5
LBB0_2:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cfg80211_disconnect
LBB0_4:
Lloh9:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	cbnz	x2, LBB0_2
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_REASON_CODE,8,3   ; @NL80211_ATTR_REASON_CODE
	.comm	_WLAN_REASON_DEAUTH_LEAVING,8,3 ; @WLAN_REASON_DEAUTH_LEAVING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ; @NL80211_IFTYPE_P2P_CLIENT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nl80211_disconnect
.subsections_via_symbols
