	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_essid
_copy_essid:                            ## @copy_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	%rsi, %rcx
	movq	%rsi, %r12
	cmovbq	%rcx, %r12
	xorl	%eax, %eax
	testq	%r12, %r12
	je	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rax), %ecx
	addb	$-127, %cl
	cmpb	$-95, %cl
	jb	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	cmpq	%r12, %rax
	jne	LBB0_2
LBB0_12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	cmpq	%rbx, %r15
	jbe	LBB0_15
## %bb.13:
	leaq	(%r12,%r14), %rdi
	addq	$-3, %rdi
	jmp	LBB0_14
LBB0_2:
	xorl	%eax, %eax
	cmpq	$3, %rbx
	jb	LBB0_16
## %bb.3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_strlcpy
	xorl	%r15d, %r15d
	testq	%r12, %r12
	je	LBB0_8
## %bb.4:
	leaq	-2(%rbx), %rax
	cmpq	$2, %rax
	jb	LBB0_8
## %bb.5:
	addq	$-4, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13,%r15), %edx
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	incq	%r15
	cmpq	%r12, %r15
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-2(%rbx), %rax
	addq	$2, %r14
	cmpq	$1, %rbx
	movq	%rax, %rbx
	ja	LBB0_6
LBB0_8:
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_15
## %bb.9:
	leaq	(%rax,%r15,2), %rdi
	decq	%rdi
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_memcpy
LBB0_15:
	movl	%r12d, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x"

L_.str.1:                               ## @.str.1
	.asciz	"%02x"

L_.str.2:                               ## @.str.2
	.asciz	"..."

	.no_dead_strip	_copy_essid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_essid
_copy_essid:                            ; @copy_essid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	cmp	x3, x1
	mov	x8, #0
	csel	x19, x3, x1, lo
	cbz	x19, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x22, x8]
	sub	w9, w9, #127
	cmn	w9, #95
	b.lo	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	cmp	x19, x8
	b.ne	LBB0_1
	b	LBB0_4
LBB0_3:
	cmp	x8, x19
	b.ne	LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
	cmp	x21, x23
	b.ls	LBB0_16
; %bb.5:
	add	x8, x19, x20
	sub	x0, x8, #3
	b	LBB0_15
LBB0_6:
	cmp	x23, #3
	b.hs	LBB0_8
; %bb.7:
	mov	w19, #0
	b	LBB0_16
LBB0_8:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_strlcpy
	mov	x25, #0
	cbz	x19, LBB0_13
; %bb.9:
	sub	x8, x23, #2
	cmp	x8, #2
	b.lo	LBB0_13
; %bb.10:
	mov	x25, #0
	sub	x26, x23, #4
	add	x23, x20, #2
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w2, [x22, x25]
	mov	x0, x23
	mov	x1, x24
	bl	_sprintf
	add	x25, x25, #1
	cmp	x25, x19
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x8, x26, #2
	add	x23, x23, #2
	cmp	x26, #1
	mov	x26, x8
	b.hi	LBB0_11
LBB0_13:
	cmp	x25, x21
	b.eq	LBB0_16
; %bb.14:
	add	x8, x20, x25, lsl #1
	sub	x0, x8, #1
LBB0_15:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #3
	bl	_memcpy
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x"

l_.str.1:                               ; @.str.1
	.asciz	"%02x"

l_.str.2:                               ; @.str.2
	.asciz	"..."

	.no_dead_strip	_copy_essid
.subsections_via_symbols
