	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logmessage
_logmessage:                            ## @logmessage
	.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
	movl	%r9d, %r15d
	movq	%r8, %r13
	movq	%rdx, %r8
	movl	%edi, %eax
	movq	16(%rbp), %rdx
	testl	%r9d, %r9d
	je	LBB0_13
## %bb.1:
	movq	%rcx, %r9
	movq	%rsi, %rcx
	movq	%rdx, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_asprintf
	movl	%eax, %r14d
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	testl	%r15d, %r15d
	jg	LBB0_4
	jmp	LBB0_10
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syslog                         ## TAILCALL
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	testl	%r15d, %r15d
	jle	LBB0_12
LBB0_4:
	movl	%r15d, %ebx
	addq	$4, %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	$12, %r13
	decq	%rbx
	je	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %r15d
	movq	-48(%rbp), %r12
	movq	%r13, %rdi
	callq	_sstosa
	movl	-4(%r13), %r9d
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_sendto
	cmpl	%r14d, %eax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_send_to_all@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_5
	jmp	LBB0_12
LBB0_8:
	cmpl	%r14d, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	callq	_warn
LBB0_12:
	movq	-48(%rbp), %rdi
	callq	_free
	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	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"<%d>%s %s %s: %s"

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

	.comm	_send_to_all,4,2                ## @send_to_all
L_.str.3:                               ## @.str.3
	.asciz	"sendto"

L_.str.4:                               ## @.str.4
	.asciz	"sendto: short send - %d bytes"

	.no_dead_strip	_logmessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logmessage
_logmessage:                            ; @logmessage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x5
	mov	x20, x4
	mov	x4, x2
	mov	x2, x0
	cbz	w5, LBB0_3
; %bb.1:
	mov	x5, x3
	mov	x3, x1
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	mov	x19, x0
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	cmp	w21, #0
	b.gt	LBB0_5
	b	LBB0_11
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	mov	x2, x6
	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
	add	sp, sp, #80
	b	_syslog
LBB0_4:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
	cmp	w21, #1
	b.lt	LBB0_12
LBB0_5:
	mov	w23, w21
	add	x20, x20, #4
Lloh6:
	adrp	x24, _send_to_all@GOTPAGE
Lloh7:
	ldr	x24, [x24, _send_to_all@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x20, #4]
	ldr	x22, [sp, #8]
	mov	x0, x20
	bl	_sstosa
	mov	x4, x0
	ldur	w5, [x20, #-4]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	w3, #0
	bl	_sendto
	ldr	w8, [x24]
	cmp	w0, w19
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x0
	add	x20, x20, #12
	subs	x23, x23, #1
	b.ne	LBB0_6
; %bb.8:
	cmp	w1, w19
	b.eq	LBB0_12
; %bb.9:
	cmn	w1, #1
	b.eq	LBB0_11
; %bb.10:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_warnx
	b	LBB0_12
LBB0_11:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warn
LBB0_12:
	ldr	x0, [sp, #8]
	bl	_free
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"<%d>%s %s %s: %s"

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

	.comm	_send_to_all,4,2                ; @send_to_all
l_.str.3:                               ; @.str.3
	.asciz	"sendto"

l_.str.4:                               ; @.str.4
	.asciz	"sendto: short send - %d bytes"

	.no_dead_strip	_logmessage
.subsections_via_symbols
