	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___udp_get_state                ## -- Begin function __udp_get_state
	.p2align	4, 0x90
___udp_get_state:                       ## @__udp_get_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	callq	_udp_target_set_choose_target
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	movq	_udp_ok@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	_udp_stopped@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	setne	%al
	movq	_udp_unknown@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	negl	%eax
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_udp_ok,8,3                     ## @udp_ok
	.comm	_udp_stopped,8,3                ## @udp_stopped
	.comm	_udp_unknown,8,3                ## @udp_unknown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___udp_get_state                ; -- Begin function __udp_get_state
	.p2align	2
___udp_get_state:                       ; @__udp_get_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	bl	_udp_target_set_choose_target
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _udp_ok@GOTPAGE
Lloh1:
	ldr	x9, [x9, _udp_ok@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x9, _udp_stopped@GOTPAGE
Lloh4:
	ldr	x9, [x9, _udp_stopped@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x9, _udp_unknown@GOTPAGE
Lloh7:
	ldr	x9, [x9, _udp_unknown@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w8, ne
	sbfx	w0, w8, #0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_udp_ok,8,3                     ; @udp_ok
	.comm	_udp_stopped,8,3                ; @udp_stopped
	.comm	_udp_unknown,8,3                ; @udp_unknown
.subsections_via_symbols
