	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_config_get_dssid          ## -- Begin function wlan_config_get_dssid
	.p2align	4, 0x90
_wlan_config_get_dssid:                 ## @wlan_config_get_dssid
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$-1, -52(%rbp)
	movq	_IEEE80211_NWID_LEN@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	incq	%rax
	movq	%rax, -48(%rbp)
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r12), %edx
	incl	%edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	16(%r14), %edi
	movq	(%r14), %rax
	movq	_WlanIfaceOperatingModeType_meshPoint@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IEEE80211_IOC_MESH_ID@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IEEE80211_IOC_SSID@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	callq	_wlan_ioctl
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rdx
	movslq	(%r12), %rax
	cmpq	%rax, %rdx
	jbe	LBB0_7
## %bb.6:
	movq	%rax, -48(%rbp)
	movq	%rax, %rdx
LBB0_7:
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	8(%r14), %rax
	movq	-48(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movl	$-1, %eax
LBB0_8:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NWID_LEN,4,2         ## @IEEE80211_NWID_LEN
	.comm	_WlanIfaceOperatingModeType_meshPoint,8,3 ## @WlanIfaceOperatingModeType_meshPoint
	.comm	_IEEE80211_IOC_MESH_ID,4,2      ## @IEEE80211_IOC_MESH_ID
	.comm	_IEEE80211_IOC_SSID,4,2         ## @IEEE80211_IOC_SSID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_config_get_dssid          ; -- Begin function wlan_config_get_dssid
	.p2align	2
_wlan_config_get_dssid:                 ; @wlan_config_get_dssid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w20, #-1
	stur	w20, [x29, #-60]
Lloh3:
	adrp	x23, _IEEE80211_NWID_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IEEE80211_NWID_LEN@GOTPAGEOFF]
	ldrsw	x8, [x23]
	add	x8, x8, #1
	stur	x8, [x29, #-72]
	and	x8, x8, #0xffffffff
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x23]
	add	w2, w8, #1
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #16]
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _WlanIfaceOperatingModeType_meshPoint@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WlanIfaceOperatingModeType_meshPoint@GOTPAGEOFF]
Lloh9:
	adrp	x10, _IEEE80211_IOC_MESH_ID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IEEE80211_IOC_MESH_ID@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x11, _IEEE80211_IOC_SSID@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IEEE80211_IOC_SSID@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	sub	x2, x29, #60
	sub	x4, x29, #72
	mov	x3, x21
	mov	w5, #0
	bl	_wlan_ioctl
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldur	x2, [x29, #-72]
	ldrsw	x8, [x23]
	cmp	x2, x8
	b.ls	LBB0_3
; %bb.2:
	stur	x8, [x29, #-72]
	mov	x2, x8
LBB0_3:
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_memcpy
	mov	w20, #0
	ldr	x8, [x19, #8]
	ldur	x9, [x29, #-72]
	strb	wzr, [x8, x9]
LBB0_4:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NWID_LEN,4,2         ; @IEEE80211_NWID_LEN
	.comm	_WlanIfaceOperatingModeType_meshPoint,8,3 ; @WlanIfaceOperatingModeType_meshPoint
	.comm	_IEEE80211_IOC_MESH_ID,4,2      ; @IEEE80211_IOC_MESH_ID
	.comm	_IEEE80211_IOC_SSID,4,2         ; @IEEE80211_IOC_SSID
.subsections_via_symbols
