	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_set_pps                    ## -- Begin function cmd_set_pps
	.p2align	4, 0x90
_cmd_set_pps:                           ## @cmd_set_pps
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_node_from_file
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	addq	$3, %rax
	movq	%rax, %rdi
	callq	_os_strdup
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$0, (%rax)
LBB0_6:
	movq	%r15, %r12
	jmp	LBB0_7
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_2:
	leaq	L_.str.2(%rip), %r12
	xorl	%r15d, %r15d
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_set_pps
	movq	%r15, %rdi
	callq	_os_free
	movl	(%r14), %edi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xml_node_free                  ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read or parse '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"SP/"

L_.str.2:                               ## @.str.2
	.asciz	"wi-fi.org"

L_.str.3:                               ## @.str.3
	.asciz	"Set PPS MO info to wpa_supplicant - SP FQDN %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_set_pps                    ; -- Begin function cmd_set_pps
	.p2align	2
_cmd_set_pps:                           ; @cmd_set_pps
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_node_from_file
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_os_strstr
	cbz	x0, LBB0_7
; %bb.2:
	add	x0, x0, #3
	bl	_os_strdup
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	mov	w1, #47
	bl	_os_strchr
	cbz	x0, LBB0_5
; %bb.4:
	strb	wzr, [x0]
LBB0_5:
	mov	x22, x21
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	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	_wpa_printf
LBB0_7:
	mov	x21, #0
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_8:
Lloh9:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_set_pps
	mov	x0, x21
	bl	_os_free
	ldr	w0, [x19]
	mov	x1, 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	_xml_node_free
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read or parse '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"SP/"

l_.str.2:                               ; @.str.2
	.asciz	"wi-fi.org"

l_.str.3:                               ; @.str.3
	.asciz	"Set PPS MO info to wpa_supplicant - SP FQDN %s"

.subsections_via_symbols
