	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_er_get_sid
_wps_er_get_sid:                        ## @wps_er_get_sid
	.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	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	addq	$5, %rax
	movl	8(%rbx), %esi
	movq	%rax, %rdi
	callq	_uuid_str2bin
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	leaq	-144(%rbp), %r14
	movq	%r14, %rsi
	movl	$100, %edx
	callq	_uuid_bin2str
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rbx), %edi
	callq	_inet_ntoa
	movl	(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rbx), %edi
	callq	_inet_ntoa
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_6
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%rbx), %edi
	callq	_inet_ntoa
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_6:
	movl	$-1, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS ER: No SID received from %s (%s)"

L_.str.1:                               ## @.str.1
	.asciz	"uuid:"

L_.str.2:                               ## @.str.2
	.asciz	"WPS ER: Invalid SID received from %s (%s): '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"WPS ER: SID for subscription with %s (%s): %s"

	.no_dead_strip	_wps_er_get_sid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_er_get_sid
_wps_er_get_sid:                        ; @wps_er_get_sid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x1
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_os_strstr
	cbz	x0, LBB0_4
; %bb.2:
	add	x0, x0, #5
	ldr	w1, [x19, #8]
	bl	_uuid_str2bin
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	add	x21, sp, #20
	add	x1, sp, #20
	mov	w2, #100
	bl	_uuid_bin2str
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_inet_ntoa
	mov	x2, x0
	ldr	w3, [x19]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	ldr	w0, [x19, #4]
	bl	_inet_ntoa
	mov	x2, x0
	ldr	w3, [x19]
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_inet_ntoa
	mov	x2, x0
	ldr	w3, [x19]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
LBB0_6:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS ER: No SID received from %s (%s)"

l_.str.1:                               ; @.str.1
	.asciz	"uuid:"

l_.str.2:                               ; @.str.2
	.asciz	"WPS ER: Invalid SID received from %s (%s): '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"WPS ER: SID for subscription with %s (%s): %s"

	.no_dead_strip	_wps_er_get_sid
.subsections_via_symbols
