	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_id_get
_mesh_id_get:                           ## @mesh_id_get
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	callq	_mesh_get_default_parameters
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	-40(%rbp), %rdx
	movq	_IEEE80211_MAX_SSID_LEN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rdx
	jbe	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	(%r15), %rdx
	movq	%rdx, -40(%rbp)
LBB0_3:
	movl	-32(%rbp), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movq	-40(%rbp), %rax
	movw	$10, (%r14,%rax)
	incl	%eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MAX_SSID_LEN,8,3     ## @IEEE80211_MAX_SSID_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inconsistent mesh ID length\n"

	.no_dead_strip	_mesh_id_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_id_get
_mesh_id_get:                           ; @mesh_id_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	mov	x1, sp
	bl	_mesh_get_default_parameters
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x2, [sp]
Lloh0:
	adrp	x21, _IEEE80211_MAX_SSID_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IEEE80211_MAX_SSID_LEN@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x2, x8
	b.ls	LBB0_3
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x2, [x21]
	str	x2, [sp]
LBB0_3:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_memcpy
	ldr	x8, [sp]
	mov	w9, #10
	strh	w9, [x19, x8]
	add	w0, w8, #1
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MAX_SSID_LEN,8,3     ; @IEEE80211_MAX_SSID_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inconsistent mesh ID length\n"

	.no_dead_strip	_mesh_id_get
.subsections_via_symbols
