	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isDataGram
_isDataGram:                            ## @isDataGram
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$4, -4(%rbp)
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-8(%rbp), %rcx
	leaq	-4(%rbp), %r8
	callq	_getsockopt
	testq	%rax, %rax
	setne	%al
	movl	-8(%rbp), %ecx
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_TYPE,4,2                    ## @SO_TYPE
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.no_dead_strip	_isDataGram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isDataGram
_isDataGram:                            ; @isDataGram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #4
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SO_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SO_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	sub	x3, x29, #4
	add	x4, sp, #8
	bl	_getsockopt
	cmp	x0, #0
	ldur	w8, [x29, #-4]
Lloh6:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, eq
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_TYPE,4,2                    ; @SO_TYPE
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.no_dead_strip	_isDataGram
.subsections_via_symbols
