	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bind
_bind:                                  ## @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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	(%rdi), %edi
	callq	_tipc_sk_port
	movl	(%rax), %r15d
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_withdraw                  ## TAILCALL
LBB0_3:
	cmpl	$31, %ebx
	ja	LBB0_6
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_6:
	movq	(%r14), %rax
	movq	_AF_TIPC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:
	movq	8(%r14), %rax
	movq	_TIPC_ADDR_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movl	16(%r14), %eax
	movl	%eax, 20(%r14)
	jmp	LBB0_11
LBB0_10:
	movq	_TIPC_ADDR_NAMESEQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_11:
	movl	24(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_12
## %bb.13:
	addq	$16, %r14
	movl	%r15d, %edi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_publish                   ## TAILCALL
LBB0_7:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	negl	%esi
	addq	$16, %r14
	movl	%r15d, %edi
	movq	%r14, %rdx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_TIPC,8,3                    ## @AF_TIPC
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_TIPC_ADDR_NAME,8,3             ## @TIPC_ADDR_NAME
	.comm	_TIPC_ADDR_NAMESEQ,8,3          ## @TIPC_ADDR_NAMESEQ
	.no_dead_strip	_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bind
_bind:                                  ; @bind
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	ldr	w0, [x0]
	bl	_tipc_sk_port
	ldr	w20, [x0]
	cmp	w21, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tipc_withdraw
LBB0_3:
	cmp	w21, #31
	b.hi	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _AF_TIPC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AF_TIPC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _TIPC_ADDR_NAME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIPC_ADDR_NAME@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x19, #16]
	str	w8, [x19, #20]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x9, _TIPC_ADDR_NAMESEQ@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TIPC_ADDR_NAMESEQ@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_9:
	ldr	w1, [x19, #24]
	cmp	w1, #1
	b.lt	LBB0_13
; %bb.10:
	add	x2, x19, #16
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tipc_publish
LBB0_11:
Lloh11:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	neg	w1, w1
	add	x2, x19, #16
	mov	x0, x20
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_TIPC,8,3                    ; @AF_TIPC
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_TIPC_ADDR_NAME,8,3             ; @TIPC_ADDR_NAME
	.comm	_TIPC_ADDR_NAMESEQ,8,3          ; @TIPC_ADDR_NAMESEQ
	.no_dead_strip	_bind
.subsections_via_symbols
