	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zd1201_set_essid
_zd1201_set_essid:                      ## @zd1201_set_essid
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%r15), %ecx
	movq	_IW_ESSID_MAX_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jle	LBB0_1
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%ecx, %ecx
	jg	LBB0_3
## %bb.2:
	movl	$1, (%r15)
	movl	$1, %ecx
LBB0_3:
	movl	%ecx, (%rbx)
	movl	4(%rbx), %edi
	movl	(%rax), %edx
	incl	%edx
	xorl	%esi, %esi
	callq	_memset
	movl	4(%rbx), %edi
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zd1201_join                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_ESSID_MAX_SIZE,4,2          ## @IW_ESSID_MAX_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_zd1201_set_essid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zd1201_set_essid
_zd1201_set_essid:                      ; @zd1201_set_essid
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_netdev_priv
	ldr	w9, [x21]
Lloh0:
	adrp	x8, _IW_ESSID_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IW_ESSID_MAX_SIZE@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	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	x20, x0
	cmp	w9, #0
	b.gt	LBB0_4
; %bb.3:
	mov	w9, #1
	str	w9, [x21]
LBB0_4:
	str	w9, [x20]
	ldr	w0, [x20, #4]
	ldr	w8, [x8]
	add	w2, w8, #1
	mov	w1, #0
	bl	_memset
	ldr	w0, [x20, #4]
	ldr	w2, [x21]
	mov	x1, x19
	bl	_memcpy
	ldp	w2, w1, [x20]
	mov	x0, 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	_zd1201_join
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_ESSID_MAX_SIZE,4,2          ; @IW_ESSID_MAX_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_zd1201_set_essid
.subsections_via_symbols
