	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_remove                ## -- Begin function wpa_tdls_remove
	.p2align	4, 0x90
_wpa_tdls_remove:                       ## @wpa_tdls_remove
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 24(%rdi)
	je	LBB0_1
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	cmpl	$0, 16(%rdi)
	je	LBB0_8
## %bb.2:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	%rsi, %r15
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_8
LBB0_6:
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.7:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.9:
	movq	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_tdls_do_teardown           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED,4,2 ## @WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_remove                ; -- Begin function wpa_tdls_remove
	.p2align	2
_wpa_tdls_remove:                       ; @wpa_tdls_remove
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_1
; %bb.3:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_1
; %bb.4:
	mov	x21, x1
Lloh0:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #4]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_os_memcmp
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_5
	b	LBB0_1
LBB0_7:
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.8:
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.9:
Lloh2:
	adrp	x8, _WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	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
	b	_wpa_tdls_do_teardown
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED,4,2 ; @WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED
.subsections_via_symbols
