	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_get_link_status       ## -- Begin function wpa_tdls_get_link_status
	.p2align	4, 0x90
_wpa_tdls_get_link_status:              ## @wpa_tdls_get_link_status
	.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
	leaq	L_.str(%rip), %r14
	cmpq	$0, 16(%rdi)
	je	LBB0_1
LBB0_7:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, 8(%rdi)
	je	LBB0_7
## %bb.2:
	movq	(%rdi), %rbx
	leaq	L_.str.1(%rip), %r14
	testq	%rbx, %rbx
	je	LBB0_7
## %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_7
LBB0_6:
	cmpl	$0, (%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %r14
	cmoveq	%rax, %r14
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disabled"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.1:                               ## @.str.1
	.asciz	"peer does not exist"

L_.str.2:                               ## @.str.2
	.asciz	"peer not connected"

L_.str.3:                               ## @.str.3
	.asciz	"connected"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_get_link_status       ; -- Begin function wpa_tdls_get_link_status
	.p2align	2
_wpa_tdls_get_link_status:              ; @wpa_tdls_get_link_status
	.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, #16]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	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_3:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_1
; %bb.4:
	ldr	x21, [x0]
	cbz	x21, LBB0_8
; %bb.5:
	mov	x20, x1
Lloh2:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_os_memcmp
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_6
	b	LBB0_2
LBB0_8:
Lloh6:
	adrp	x19, l_.str.1@PAGE
Lloh7:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_9:
	ldr	w8, [x21]
Lloh8:
	adrp	x9, l_.str.3@PAGE
Lloh9:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh10:
	adrp	x10, l_.str.2@PAGE
Lloh11:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x19, x10, x9, eq
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disabled"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.1:                               ; @.str.1
	.asciz	"peer does not exist"

l_.str.2:                               ; @.str.2
	.asciz	"peer not connected"

l_.str.3:                               ; @.str.3
	.asciz	"connected"

.subsections_via_symbols
