	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_requestDevicesFromMiniSSDPD    ## -- Begin function requestDevicesFromMiniSSDPD
	.p2align	4, 0x90
_requestDevicesFromMiniSSDPD:           ## @requestDevicesFromMiniSSDPD
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %r12
	cmpl	$8, %r12d
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movb	$1, %al
LBB0_4:
	movb	%al, -304(%rbp)
	leaq	-303(%rbp), %r13
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_CODELENGTH
	movl	%r12d, %eax
	leaq	(%rax,%rbp), %rbx
	addq	$-303, %rbx                     ## imm = 0xFED1
	leaq	-48(%rbp), %rax
	cmpq	%rax, %rbx
	jbe	LBB0_6
## %bb.5:
	movq	_MINISSDPC_INVALID_INPUT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	leaq	-304(%rbp), %rsi
	subl	%esi, %ebx
	movl	%r14d, %edi
	movl	%ebx, %edx
	callq	_write
	testq	%rax, %rax
	js	LBB0_8
## %bb.7:
	movq	_MINISSDPC_SUCCESS@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movb	$3, %al
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	movq	_MINISSDPC_SOCKET_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ssdp:all"

	.comm	_MINISSDPC_INVALID_INPUT,4,2    ## @MINISSDPC_INVALID_INPUT
L_.str.1:                               ## @.str.1
	.asciz	"minissdpc.c: write()"

	.comm	_MINISSDPC_SOCKET_ERROR,4,2     ## @MINISSDPC_SOCKET_ERROR
	.comm	_MINISSDPC_SUCCESS,4,2          ## @MINISSDPC_SUCCESS
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_requestDevicesFromMiniSSDPD    ; -- Begin function requestDevicesFromMiniSSDPD
	.p2align	2
_requestDevicesFromMiniSSDPD:           ; @requestDevicesFromMiniSSDPD
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x20, x1
	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, #-72]
	mov	x0, x1
	bl	_strlen
	mov	x21, x0
	cmp	w21, #8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #8
	bl	_memcmp
	cbz	x0, LBB0_9
LBB0_2:
	mov	w8, #1
LBB0_3:
	strb	w8, [sp, #8]
	add	x24, sp, #8
	add	x22, x24, #1
	mov	x0, x21
	mov	x1, x22
	bl	_CODELENGTH
	add	x23, x22, w21, uxtw
	add	x8, x24, #256
	cmp	x23, x8
	b.ls	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _MINISSDPC_INVALID_INPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MINISSDPC_INVALID_INPUT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	add	x8, sp, #8
	sub	w2, w23, w8
	add	x1, sp, #8
	mov	x0, x19
	bl	_write
	tbnz	x0, #63, LBB0_10
; %bb.6:
Lloh7:
	adrp	x8, _MINISSDPC_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MINISSDPC_SUCCESS@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.8:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_9:
	mov	w8, #3
	b	LBB0_3
LBB0_10:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
Lloh14:
	adrp	x8, _MINISSDPC_SOCKET_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MINISSDPC_SOCKET_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ssdp:all"

	.comm	_MINISSDPC_INVALID_INPUT,4,2    ; @MINISSDPC_INVALID_INPUT
l_.str.1:                               ; @.str.1
	.asciz	"minissdpc.c: write()"

	.comm	_MINISSDPC_SOCKET_ERROR,4,2     ; @MINISSDPC_SOCKET_ERROR
	.comm	_MINISSDPC_SUCCESS,4,2          ; @MINISSDPC_SUCCESS
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
