	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evutil_getaddrinfo_infer_protocols
_evutil_getaddrinfo_infer_protocols:    ## @evutil_getaddrinfo_infer_protocols
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	testq	%rcx, %rcx
	je	LBB0_7
LBB0_12:
	popq	%rbp
	retq
LBB0_1:
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.2:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	addq	$8, %rdi
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_12
## %bb.5:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_SCTP,8,3               ## @IPPROTO_SCTP
	.no_dead_strip	_evutil_getaddrinfo_infer_protocols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evutil_getaddrinfo_infer_protocols
_evutil_getaddrinfo_infer_protocols:    ; @evutil_getaddrinfo_infer_protocols
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	mov	x8, x0
	ldr	x10, [x8, #8]!
	cbz	x9, LBB0_3
; %bb.1:
	cbz	x10, LBB0_6
LBB0_2:
	ret
LBB0_3:
	cbz	x10, LBB0_2
; %bb.4:
Lloh0:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_8
; %bb.5:
Lloh3:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
	mov	x8, x0
	b	LBB0_12
LBB0_6:
Lloh5:
	adrp	x10, _IPPROTO_UDP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IPPROTO_UDP@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.7:
Lloh8:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh10:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.9:
Lloh13:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
	mov	x8, x0
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x10, _IPPROTO_TCP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IPPROTO_TCP@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.11:
Lloh18:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
LBB0_12:
	ldr	x9, [x9]
	str	x9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_SCTP,8,3               ; @IPPROTO_SCTP
	.no_dead_strip	_evutil_getaddrinfo_infer_protocols
.subsections_via_symbols
