	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_bind
_do_bind:                               ## @do_bind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -12(%rbp)
	movq	(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
LBB0_9:
	movq	(%rbx), %rcx
	movl	(%rcx), %eax
	leal	-128(%rax), %edx
	cmpl	$3, %edx
	jae	LBB0_10
## %bb.13:
	movq	16(%rcx), %rdi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_udp_bind
	jmp	LBB0_15
LBB0_10:
	cmpl	$131, %eax
	je	LBB0_14
## %bb.11:
	cmpl	$132, %eax
	jne	LBB0_16
## %bb.12:
	movl	24(%rcx), %edi
	movl	12(%rbx), %esi
	callq	_raw_bind
	jmp	LBB0_15
LBB0_1:
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	_UDP_FLAGS_NOCHKSUM@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_14:
	movq	8(%rcx), %rdi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_tcp_bind
LBB0_15:
	movq	(%rbx), %rcx
	movl	%eax, 32(%rcx)
LBB0_16:
	movl	4(%rcx), %edi
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rsi
	callq	_MQ_Send
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	_UDP_FLAGS_UDPLITE@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_udp_setflags
	movq	(%rbx), %rdx
	movq	16(%rdx), %rdi
	movq	_recv_udp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_udp_recv
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rdx
	movq	%rax, 16(%rdx)
	movq	_recv_udp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_udp_recv
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	callq	_tcp_new
	movq	(%rbx), %rdi
	movq	%rax, 8(%rdi)
	callq	_setuptcp
	jmp	LBB0_9
LBB0_3:
	movl	8(%rbx), %edi
	callq	_raw_new
	movq	(%rbx), %rdx
	movl	%eax, 24(%rdx)
	movq	_recv_raw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_raw_recv
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_recv_raw,4,2                   ## @recv_raw
	.comm	_UDP_FLAGS_UDPLITE,4,2          ## @UDP_FLAGS_UDPLITE
	.comm	_recv_udp,4,2                   ## @recv_udp
	.comm	_UDP_FLAGS_NOCHKSUM,4,2         ## @UDP_FLAGS_NOCHKSUM
	.comm	_MQ_MSG_BLOCK,4,2               ## @MQ_MSG_BLOCK
	.no_dead_strip	_do_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_bind
_do_bind:                               ; @do_bind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_10
; %bb.1:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	bl	_udp_new
	ldr	x8, [x19]
	str	x0, [x8, #16]
Lloh2:
	adrp	x8, _UDP_FLAGS_NOCHKSUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UDP_FLAGS_NOCHKSUM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	bl	_udp_new
	ldr	x8, [x19]
	str	x0, [x8, #16]
Lloh4:
	adrp	x8, _UDP_FLAGS_UDPLITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UDP_FLAGS_UDPLITE@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	bl	_udp_setflags
	ldr	x2, [x19]
	ldr	x0, [x2, #16]
	b	LBB0_7
LBB0_6:
	bl	_udp_new
	ldr	x2, [x19]
	str	x0, [x2, #16]
LBB0_7:
Lloh6:
	adrp	x8, _recv_udp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _recv_udp@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_udp_recv
	b	LBB0_10
LBB0_8:
	bl	_tcp_new
	ldr	x8, [x19]
	str	x0, [x8, #8]
	mov	x0, x8
	bl	_setuptcp
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #8]
	bl	_raw_new
	ldr	x2, [x19]
	str	w0, [x2, #24]
Lloh9:
	adrp	x8, _recv_raw@GOTPAGE
Lloh10:
	ldr	x8, [x8, _recv_raw@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_raw_recv
LBB0_10:
	ldr	x8, [x19]
	ldr	w9, [x8]
	sub	w10, w9, #128
	cmp	w10, #3
	b.hs	LBB0_12
; %bb.11:
	ldr	x0, [x8, #16]
	ldp	w2, w1, [x19, #8]
	bl	_udp_bind
	b	LBB0_16
LBB0_12:
	cmp	w9, #131
	b.eq	LBB0_15
; %bb.13:
	cmp	w9, #132
	b.ne	LBB0_17
; %bb.14:
	ldr	w0, [x8, #24]
	ldr	w1, [x19, #12]
	bl	_raw_bind
	b	LBB0_16
LBB0_15:
	ldr	x0, [x8, #8]
	ldp	w2, w1, [x19, #8]
	bl	_tcp_bind
LBB0_16:
	ldr	x8, [x19]
	str	w0, [x8, #32]
LBB0_17:
	ldr	w0, [x8, #4]
Lloh12:
	adrp	x8, _MQ_MSG_BLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_MQ_Send
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_recv_raw,4,2                   ; @recv_raw
	.comm	_UDP_FLAGS_UDPLITE,4,2          ; @UDP_FLAGS_UDPLITE
	.comm	_recv_udp,4,2                   ; @recv_udp
	.comm	_UDP_FLAGS_NOCHKSUM,4,2         ; @UDP_FLAGS_NOCHKSUM
	.comm	_MQ_MSG_BLOCK,4,2               ; @MQ_MSG_BLOCK
	.no_dead_strip	_do_bind
.subsections_via_symbols
